diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-12 17:53:17 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-08-12 17:53:17 +0000 |
commit | 2bb320b6f41d4c75ac49a77beec037d5bdf80639 (patch) | |
tree | a181f6e927fc5e6561411e8bb633417b63f56b9a /libexec/identd | |
parent | 282601db2205cbf8729e14c901e71feaaab9b7a8 (diff) |
Use INFTIM where possible.
Diffstat (limited to 'libexec/identd')
-rw-r--r-- | libexec/identd/identd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c index befb10e31bb..9d0ecd8b965 100644 --- a/libexec/identd/identd.c +++ b/libexec/identd/identd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.c,v 1.19 2001/08/08 07:02:42 deraadt Exp $ */ +/* $OpenBSD: identd.c,v 1.20 2001/08/12 17:53:16 fgsch Exp $ */ /* * This program is in the public domain and may be used freely by anyone @@ -374,7 +374,7 @@ main(argc, argv) if (timeout) nfds = poll(pfd, 1, timeout * 1000); else - nfds = poll(pfd, 1, -1); + nfds = poll(pfd, 1, INFTIM); } while (nfds < 0 && errno == EINTR); /* |