git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dcb8c2
)
r7722: when we get a zero read, the connection is dead
author
Andrew Tridgell
<tridge@samba.org>
Sat, 18 Jun 2005 12:44:36 +0000
(12:44 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:26 +0000
(13:18 -0500)
(This used to be commit
060323530454edf21b217550b373513e5860146c
)
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 bc70cd56aa3bf83d3045cfeee31f5a102a69c060..f2b09e89e326c7a42aa53a998767c93af2c2f130 100644
(file)
--- a/
source4/libcli/ldap/ldap_client.c
+++ b/
source4/libcli/ldap/ldap_client.c
@@
-243,8
+243,7
@@
static void ldap_recv_handler(struct ldap_connection *conn)
/* work out how much data is pending */
status = socket_pending(conn->sock, &npending);
if (!NT_STATUS_IS_OK(status) || npending == 0) {
- DEBUG(0,("ldap_recv_handler - pending=%d - %s\n",
- (int)npending, nt_errstr(status)));
+ ldap_connection_dead(conn);
return;
}