diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-09-27 13:31:17 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2005-09-27 13:31:17 +0000 |
commit | aad5e37e5f623e1b1e7985bdbc4b44709273e87b (patch) | |
tree | 59072f7d8c34500385baa9e726db92894f95ddf5 /source/libcli/raw | |
parent | 4de71c1b5139d4a2fc339dec1a45c0a59de88845 (diff) | |
download | samba-aad5e37e5f623e1b1e7985bdbc4b44709273e87b.tar.gz samba-aad5e37e5f623e1b1e7985bdbc4b44709273e87b.tar.xz samba-aad5e37e5f623e1b1e7985bdbc4b44709273e87b.zip |
r10542: if the transport is dead we need to return
tridge: I think this is correct, comments?
metze
Diffstat (limited to 'source/libcli/raw')
-rw-r--r-- | source/libcli/raw/clitransport.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/libcli/raw/clitransport.c b/source/libcli/raw/clitransport.c index d70d3330391..7d4891da00d 100644 --- a/source/libcli/raw/clitransport.c +++ b/source/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; |