r5141: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Mon, 31 Jan 2005 16:36:17 +0000 (16:36 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:26 +0000 (13:09 -0500)
metze
(This used to be commit 12b0841b30fdb6d7ba8c3dc9991c172f7fb3d31f)

source4/smbd/service_stream.c
source4/smbd/service_task.c

index 1662e9005fa6289d64f20622a365bc0a673f09f9..d832cc233db8fcb60d194315a7afafaef747926f 100644 (file)
@@ -51,7 +51,7 @@ struct stream_socket {
 */
 void stream_terminate_connection(struct stream_connection *srv_conn, const char *reason)
 {
-       struct event_ctx *event_ctx = srv_conn->event.ctx;
+       struct event_context *event_ctx = srv_conn->event.ctx;
        const struct model_ops *model_ops = srv_conn->model_ops;
        talloc_free(srv_conn);
        model_ops->terminate(event_ctx, reason);
index ea09edf3f41856e44c7608e52c01fa7eb18abaa5..d5349429d6ad5c0f0aa103ceb0d947ab7480f4bc 100644 (file)
@@ -30,7 +30,7 @@
 */
 void task_terminate(struct task_server *task, const char *reason)
 {
-       struct event_ctx *event_ctx = task->event_ctx;
+       struct event_context *event_ctx = task->event_ctx;
        const struct model_ops *model_ops = task->model_ops;
        talloc_free(task);
        model_ops->terminate(event_ctx, reason);