From de44c0a11d2742fef11794d00d8b2f06dbc40736 Mon Sep 17 00:00:00 2001 From: Gene Stark Date: Sun, 8 Aug 1999 07:05:46 +0000 Subject: [PATCH] Corrected mistake that was causing daemon to loop without serving user requests. Note that nothing can be said about the value of 'user' unless User != NULL. --- libexec/xtend/xtend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/xtend/xtend.c b/libexec/xtend/xtend.c index 1ffc448d46d..f6aaf65a20e 100644 --- a/libexec/xtend/xtend.c +++ b/libexec/xtend/xtend.c @@ -31,7 +31,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: xtend.c,v 1.6 1997/12/04 07:25:19 charnier Exp $"; #endif /* not lint */ /* @@ -284,7 +284,7 @@ char *argv[]; logpacket(rpkt); processpacket(rpkt); } - } else if(FD_ISSET(user, &fs)) { + } else if(FD_ISSET(user, &fs) && User != NULL) { if(User != NULL) { if(user_command()) { fprintf(Log, "%s: Closing user connection\n", thedate());