summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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);