summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ba5afb)
raw | patch | inline | side by side (parent: 6ba5afb)
author | Sebastian Harl <sh@tokkee.org> | |
Sat, 21 Dec 2013 17:45:57 +0000 (18:45 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sat, 21 Dec 2013 17:45:57 +0000 (18:45 +0100) |
Thanks to Travis CI for finding this!
src/utils/proto.c | patch | blob | history |
diff --git a/src/utils/proto.c b/src/utils/proto.c
index 404d2a30ec5d2dabd270ab393bd9e262ec429017..26c4826a7f949a003d67932bd283cc59eff2befd 100644 (file)
--- a/src/utils/proto.c
+++ b/src/utils/proto.c
n = select(fd + 1, readfds, writefds, exceptfds, NULL);
if ((n < 0) && (errno != EINTR))
- return (ssize_t)n;
+ return n;
if (n > 0)
break;
}