diff options
| author | Oliver Kiddle <opk@users.sourceforge.net> | 2004-03-03 11:05:40 +0000 |
|---|---|---|
| committer | Oliver Kiddle <opk@users.sourceforge.net> | 2004-03-03 11:05:40 +0000 |
| commit | 0b787b5da25615fff4f41a1101a42f1ab142dcd4 (patch) | |
| tree | f80d2d865fa99e6d85eebe67fbe8e43e3ebd5fc2 /Src/Modules/tcp.c | |
| parent | unposted: 4.2.0-pre-2 (diff) | |
| download | zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar.gz zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar.bz2 zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar.lz zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar.xz zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar.zst zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.zip | |
19525: suppress compiler warnings and complete groups using lookupd on Mac OS
Diffstat (limited to 'Src/Modules/tcp.c')
| -rw-r--r-- | Src/Modules/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/tcp.c b/Src/Modules/tcp.c index 8e42ead55..453f7bf21 100644 --- a/Src/Modules/tcp.c +++ b/Src/Modules/tcp.c @@ -515,7 +515,7 @@ bin_ztcp(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); |
