From 1c701527fff811ab7a60f38f91937d78509c1c01 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 27 Sep 2005 13:31:17 +0000 Subject: r10542: if the transport is dead we need to return tridge: I think this is correct, comments? metze (This used to be commit e06ca726f3df013d869d943338bc6b7a151cdd3f) --- source4/libcli/raw/clitransport.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/libcli/raw') 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; -- cgit