summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/clitransport.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source4/libcli/raw/clitransport.c b/source4/libcli/raw/clitransport.c
index d82d97a0d9..3335f557e5 100644
--- a/source4/libcli/raw/clitransport.c
+++ b/source4/libcli/raw/clitransport.c
@@ -443,14 +443,7 @@ static void smbcli_transport_process_recv(struct smbcli_transport *transport)
transport->recv_buffer.header +
transport->recv_buffer.received,
NBT_HDR_SIZE - transport->recv_buffer.received);
- if (ret == 0) {
- smbcli_transport_dead(transport);
- return;
- }
if (ret == -1) {
- if (errno == EINTR || errno == EAGAIN) {
- return;
- }
smbcli_transport_dead(transport);
return;
}
@@ -478,9 +471,6 @@ static void smbcli_transport_process_recv(struct smbcli_transport *transport)
transport->recv_buffer.req_size -
transport->recv_buffer.received);
if (ret == -1) {
- if (errno == EINTR || errno == EAGAIN) {
- return;
- }
smbcli_transport_dead(transport);
return;
}