diff options
author | stark <stark@FreeBSD.org> | 1999-08-08 07:05:46 +0000 |
---|---|---|
committer | stark <stark@FreeBSD.org> | 1999-08-08 07:05:46 +0000 |
commit | bc22ab3c1b943a25f7611ee63fabca113fc1ca8f (patch) | |
tree | d3ad2fbdfb2b801f421279e6f2e741c453e3383a /libexec/xtend | |
parent | 9c4631d1997d1772b6438312fa5f88c749cbbf52 (diff) | |
download | FreeBSD-src-bc22ab3c1b943a25f7611ee63fabca113fc1ca8f.zip FreeBSD-src-bc22ab3c1b943a25f7611ee63fabca113fc1ca8f.tar.gz |
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.
Diffstat (limited to 'libexec/xtend')
-rw-r--r-- | libexec/xtend/xtend.c | 4 |
1 files changed, 2 insertions, 2 deletions
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()); |