git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad5b64b
)
r10542: if the transport is dead we need to return
author
Stefan Metzmacher
<metze@samba.org>
Tue, 27 Sep 2005 13:31:17 +0000
(13:31 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:39:03 +0000
(13:39 -0500)
tridge: I think this is correct, comments?
metze
(This used to be commit
e06ca726f3df013d869d943338bc6b7a151cdd3f
)
source4/libcli/raw/clitransport.c
patch
|
blob
|
history
diff --git
a/source4/libcli/raw/clitransport.c
b/source4/libcli/raw/clitransport.c
index d70d33303917a8354726cf2111d7eba364e94cf7..7d4891da00d0eeba14131b072464c7ccb7821b54 100644
(file)
--- 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;