From bc22ab3c1b943a25f7611ee63fabca113fc1ca8f Mon Sep 17 00:00:00 2001 From: stark Date: Sun, 8 Aug 1999 07:05:46 +0000 Subject: 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(-) (limited to 'libexec/xtend/xtend.c') diff --git a/libexec/xtend/xtend.c b/libexec/xtend/xtend.c index 1ffc448..f6aaf65 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()); -- cgit v1.1