summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-10 15:38:22 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-10 21:50:26 +0200
commit3ed85d7c69f9b68a709572ab221b9da1c17a146e (patch)
treee7c78e47d2c36353b2c78ee9a8ab71c5952ff8f3 /source4
parentec0c1f2c34ea520b4a7d636ba284a9c7d3ecd96f (diff)
downloadsamba-3ed85d7c69f9b68a709572ab221b9da1c17a146e.tar.gz
samba-3ed85d7c69f9b68a709572ab221b9da1c17a146e.tar.bz2
samba-3ed85d7c69f9b68a709572ab221b9da1c17a146e.zip
libcli/cldap: pass tevent_context to cldap_set_incoming_handler()
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/cldap_server/cldap_server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/cldap_server/cldap_server.c b/source4/cldap_server/cldap_server.c
index d3e8b7fffa..111493672d 100644
--- a/source4/cldap_server/cldap_server.c
+++ b/source4/cldap_server/cldap_server.c
@@ -138,7 +138,8 @@ static NTSTATUS cldapd_add_socket(struct cldapd_server *cldapd, struct loadparm_
}
talloc_free(socket_address);
- cldap_set_incoming_handler(cldapsock, cldapd_request_handler, cldapd);
+ cldap_set_incoming_handler(cldapsock, cldapd->task->event_ctx,
+ cldapd_request_handler, cldapd);
return NT_STATUS_OK;
}