summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-27 17:36:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-27 17:36:49 +0100
commitafe8e533b9626fff8c59653972019d3f91bf136c (patch)
tree00c7c039c9ab4e2b5147a2c1d2b3303191d93ff4 /source4
parent48e9b4cea10ad182af5fd4260ca1b7403fcfbf3a (diff)
downloadsamba-afe8e533b9626fff8c59653972019d3f91bf136c.tar.gz
samba-afe8e533b9626fff8c59653972019d3f91bf136c.tar.bz2
samba-afe8e533b9626fff8c59653972019d3f91bf136c.zip
Set lp_ctx properly.
(This used to be commit 11289759cae6a8062ea3556dbcbddfd44a3c0331)
Diffstat (limited to 'source4')
-rw-r--r--source4/smbd/service_stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smbd/service_stream.c b/source4/smbd/service_stream.c
index 7e1f6493ee..23cf830b29 100644
--- a/source4/smbd/service_stream.c
+++ b/source4/smbd/service_stream.c
@@ -174,6 +174,7 @@ static void stream_new_connection(struct event_context *ev,
srv_conn->server_id = server_id;
srv_conn->ops = stream_socket->ops;
srv_conn->event.ctx = ev;
+ srv_conn->lp_ctx = lp_ctx;
srv_conn->event.fde = event_add_fd(ev, srv_conn, socket_get_fd(sock),
0, stream_io_handler_fde, srv_conn);