diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-27 13:31:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:03 -0500 |
commit | 1c701527fff811ab7a60f38f91937d78509c1c01 (patch) | |
tree | 70d68e9fe759555d4a5d9153d6ae041b9f47655e /source4 | |
parent | ad5b64b0aac457bb6f10448db48ec538780228bc (diff) | |
download | samba-1c701527fff811ab7a60f38f91937d78509c1c01.tar.gz samba-1c701527fff811ab7a60f38f91937d78509c1c01.tar.bz2 samba-1c701527fff811ab7a60f38f91937d78509c1c01.zip |
r10542: if the transport is dead we need to return
tridge: I think this is correct, comments?
metze
(This used to be commit e06ca726f3df013d869d943338bc6b7a151cdd3f)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/raw/clitransport.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c index d70d333039..7d4891da00 100644 --- a/source4/libcli/raw/clitransport.c +++ b/source4/libcli/raw/clitransport.c @@ -353,6 +353,7 @@ static void smbcli_transport_process_send(struct smbcli_transport *transport) req->out.size, &nwritten); if (NT_STATUS_IS_ERR(status)) { smbcli_transport_dead(transport); + return; } if (!NT_STATUS_IS_OK(status)) { return; @@ -540,6 +541,7 @@ static void smbcli_transport_process_recv(struct smbcli_transport *transport) &nread); if (NT_STATUS_IS_ERR(status)) { smbcli_transport_dead(transport); + return; } if (!NT_STATUS_IS_OK(status)) { return; @@ -571,6 +573,7 @@ static void smbcli_transport_process_recv(struct smbcli_transport *transport) &nread); if (NT_STATUS_IS_ERR(status)) { smbcli_transport_dead(transport); + return; } if (!NT_STATUS_IS_OK(status)) { return; |