From 2bb320b6f41d4c75ac49a77beec037d5bdf80639 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Sun, 12 Aug 2001 17:53:17 +0000 Subject: Use INFTIM where possible. --- libexec/identd/identd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/identd') 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); /* -- cgit v1.2.3