git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tsocket: Fix some unreachable code
[ira/wip.git]
/
lib
/
tsocket
/
tsocket.c
diff --git
a/lib/tsocket/tsocket.c
b/lib/tsocket/tsocket.c
index b8dd6c893662c47cd8973faf8f7e72646ec45c15..674858de0a5aa416c6ee92cdd7d464a117c76c7b 100644
(file)
--- 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;