summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-01-31 16:36:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:26 -0500
commit65db148d87ba984410c5d01fed097fa005e2b3b1 (patch)
tree174a3d2896e48916f34e3fe90c4aa372d238bd6c
parent4c6bcb0c05075b8fc606e72123b26288ea80d3bb (diff)
downloadsamba-65db148d87ba984410c5d01fed097fa005e2b3b1.tar.gz
samba-65db148d87ba984410c5d01fed097fa005e2b3b1.tar.bz2
samba-65db148d87ba984410c5d01fed097fa005e2b3b1.zip
r5141: fix compiler warnings
metze (This used to be commit 12b0841b30fdb6d7ba8c3dc9991c172f7fb3d31f)
-rw-r--r--source4/smbd/service_stream.c2
-rw-r--r--source4/smbd/service_task.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/service_stream.c b/source4/smbd/service_stream.c
index 1662e9005f..d832cc233d 100644
--- a/source4/smbd/service_stream.c
+++ b/source4/smbd/service_stream.c
@@ -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);
diff --git a/source4/smbd/service_task.c b/source4/smbd/service_task.c
index ea09edf3f4..d5349429d6 100644
--- a/source4/smbd/service_task.c
+++ b/source4/smbd/service_task.c
@@ -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);