mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correction to previous commit.
This commit is contained in:
parent
de44c0a11d
commit
ccc2025d3a
1 changed files with 5 additions and 9 deletions
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
#ifndef lint
|
||||
static const char rcsid[] =
|
||||
"$Id: xtend.c,v 1.6 1997/12/04 07:25:19 charnier Exp $";
|
||||
"$Id: xtend.c,v 1.7 1999/08/08 07:05:46 stark Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
|
|
@ -285,14 +285,10 @@ char *argv[];
|
|||
processpacket(rpkt);
|
||||
}
|
||||
} else if(FD_ISSET(user, &fs) && User != NULL) {
|
||||
if(User != NULL) {
|
||||
if(user_command()) {
|
||||
fprintf(Log, "%s: Closing user connection\n", thedate());
|
||||
fclose(User);
|
||||
User = NULL;
|
||||
}
|
||||
} else {
|
||||
/* "Can't" happen */
|
||||
if(user_command()) {
|
||||
fprintf(Log, "%s: Closing user connection\n", thedate());
|
||||
fclose(User);
|
||||
User = NULL;
|
||||
}
|
||||
} else if(FD_ISSET(sock, &fs)) { /* Accept a connection */
|
||||
if (User == NULL) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue