summaryrefslogtreecommitdiff
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 19:37:04 +0100
commit649f82099811e127153d8958920867e68a02b005 (patch)
tree35ca4b041ed4de367e1bfcf21bd440efd4a1568b
parentb42e3fb232ca68e869de4b39826da861f48e6771 (diff)
downloadsamba-649f82099811e127153d8958920867e68a02b005.tar.gz
samba-649f82099811e127153d8958920867e68a02b005.tar.bz2
samba-649f82099811e127153d8958920867e68a02b005.zip
Set lp_ctx properly.
(This used to be commit 5d274f19aedbb022d61b1493857dce66877dc809)
-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);