diff options
-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; |