diff options
Diffstat (limited to 'Src/Modules/socket.c')
-rw-r--r-- | Src/Modules/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/socket.c b/Src/Modules/socket.c index cca980845..ace990ab4 100644 --- a/Src/Modules/socket.c +++ b/Src/Modules/socket.c @@ -171,7 +171,7 @@ bin_zsocket(char *nam, char **args, Options ops, int func) tv.tv_sec = 0; tv.tv_usec = 0; - if (ret = select(lfd+1, &rfds, NULL, NULL, &tv)) return 1; + if ((ret = select(lfd+1, &rfds, NULL, NULL, &tv))) return 1; else if (ret == -1) { zwarnnam(nam, "select error: %e", NULL, errno); |