summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-09-15 09:55:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:10 -0500
commit84951a4cee52b66bf8b2f2a510274bfc8f77431c (patch)
treeb7ae5fba9b394e824a999edf6369cf2e41bcf3c2 /source4/ldap_server
parentf77e859e484bee3ebb99dcaa2935a1a323ccfa6f (diff)
downloadsamba-84951a4cee52b66bf8b2f2a510274bfc8f77431c.tar.gz
samba-84951a4cee52b66bf8b2f2a510274bfc8f77431c.tar.bz2
samba-84951a4cee52b66bf8b2f2a510274bfc8f77431c.zip
r10237: fix parameter, how have I missed this...?
metze (This used to be commit d02e1aa049f29590fbb5e08a32ee54177baa71a7)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index 92adc8a890..5cc0748c29 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -365,7 +365,7 @@ static void ldapsrv_accept(struct stream_connection *c)
conn->tls = tls_init_server(ldapsrv_service->tls_params, c->socket,
c->event.fde, NULL, port != 389);
if (!conn->tls) {
- ldapsrv_terminate_connection(c, "ldapsrv_accept: tls_init_server() failed");
+ ldapsrv_terminate_connection(conn, "ldapsrv_accept: tls_init_server() failed");
return;
}