projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix errno references when handling socket errors.
[tinc]
/
src
/
event.c
diff --git
a/src/event.c
b/src/event.c
index
5a1e4f5
..
27b884c
100644
(file)
--- a/
src/event.c
+++ b/
src/event.c
@@
-225,7
+225,7
@@
bool event_loop(void) {
#endif
if(n < 0) {
- if(sockwouldblock(errno))
+ if(sockwouldblock(
sock
errno))
continue;
else
return false;