diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c index 98793b756..20255aaee 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.112 2003/11/04 08:54:09 djm Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.113 2003/11/18 00:40:05 dtucker Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -973,7 +973,7 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt) | |||
973 | u_short listen_port; | 973 | u_short listen_port; |
974 | 974 | ||
975 | pw = the_authctxt->pw; | 975 | pw = the_authctxt->pw; |
976 | if (pw == NULL || !the_authctxt->pw) | 976 | if (pw == NULL || !the_authctxt->valid) |
977 | fatal("server_input_global_request: no/invalid user"); | 977 | fatal("server_input_global_request: no/invalid user"); |
978 | listen_address = packet_get_string(NULL); | 978 | listen_address = packet_get_string(NULL); |
979 | listen_port = (u_short)packet_get_int(); | 979 | listen_port = (u_short)packet_get_int(); |