summaryrefslogtreecommitdiff
path: root/lib/tsocket/tsocket.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tsocket/tsocket.c')
-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 b8dd6c89366..674858de0a5 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;