git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
471e67a
)
s4:libcli/ldap: the tls code steals the original socket on its own now
author
Stefan Metzmacher
<metze@samba.org>
Thu, 30 Jul 2009 06:44:21 +0000
(08:44 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 31 Jul 2009 12:42:05 +0000
(14:42 +0200)
metze
source4/libcli/ldap/ldap_client.c
patch
|
blob
|
history
diff --git
a/source4/libcli/ldap/ldap_client.c
b/source4/libcli/ldap/ldap_client.c
index 304a2e1253d30f66945d5e3f6dec407e845122fa..9135b425743f3562eeedf14390481d221e7f9be2 100644
(file)
--- a/
source4/libcli/ldap/ldap_client.c
+++ b/
source4/libcli/ldap/ldap_client.c
@@
-417,10
+417,7
@@
static void ldap_connect_got_sock(struct composite_context *ctx,
return;
}
- /* the original socket, must become a child of the tls socket */
- tmp_socket = conn->sock;
conn->sock = talloc_steal(conn, tls_socket);
- talloc_steal(conn->sock, tmp_socket);
}
conn->packet = packet_init(conn);