summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tsocket/tsocket.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tsocket/tsocket.c b/lib/tsocket/tsocket.c
index b8dd6c8936..674858de0a 100644
--- a/lib/tsocket/tsocket.c
+++ b/lib/tsocket/tsocket.c
@@ -46,8 +46,7 @@ int tsocket_simple_int_recv(struct tevent_req *req, int *perrno)
*perrno = (int)error;
return -1;
default:
- *perrno = EIO;
- return -1;
+ break;
}
*perrno = EIO;