diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-30 08:44:21 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-31 14:42:05 +0200 |
commit | a3bcbd177537e5da437974e64bbd07d88c087fa2 (patch) | |
tree | 662029375ba3715adc3a7fb79ccdfb0314c2e2c9 /source4/libcli | |
parent | 471e67a7334050576b96184dbe0534982f8706fc (diff) | |
download | samba-a3bcbd177537e5da437974e64bbd07d88c087fa2.tar.gz samba-a3bcbd177537e5da437974e64bbd07d88c087fa2.tar.bz2 samba-a3bcbd177537e5da437974e64bbd07d88c087fa2.zip |
s4:libcli/ldap: the tls code steals the original socket on its own now
metze
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/ldap/ldap_client.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/libcli/ldap/ldap_client.c b/source4/libcli/ldap/ldap_client.c index 304a2e1253..9135b42574 100644 --- 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); |