summaryrefslogtreecommitdiff
path: root/source4/smbd/service_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/service_stream.c')
-rw-r--r--source4/smbd/service_stream.c2
1 files changed, 1 insertions, 1 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);