summaryrefslogtreecommitdiffstats
path: root/serverloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-11-18 12:01:25 +0100
committerDamien Miller <djm@mindrot.org>2003-11-18 12:01:25 +0100
commit4bb1dd3166c2a04394e9ec55fdff6bf6ad667e39 (patch)
tree53df6882176d3a3f964348a7d5db003e6cce49d2 /serverloop.c
parent - (dtucker) [auth-pam.c] Only use pam_putenv if our platform has it. ok djm@ (diff)
downloadopenssh-4bb1dd3166c2a04394e9ec55fdff6bf6ad667e39.tar.xz
openssh-4bb1dd3166c2a04394e9ec55fdff6bf6ad667e39.zip
- (djm) OpenBSD CVS Sync
- dtucker@cvs.openbsd.org 2003/11/18 00:40:05 [serverloop.c] Correct check for authctxt->valid. ok djm@
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c4
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 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: serverloop.c,v 1.112 2003/11/04 08:54:09 djm Exp $");
+RCSID("$OpenBSD: serverloop.c,v 1.113 2003/11/18 00:40:05 dtucker Exp $");
#include "xmalloc.h"
#include "packet.h"
@@ -973,7 +973,7 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt)
u_short listen_port;
pw = the_authctxt->pw;
- if (pw == NULL || !the_authctxt->pw)
+ if (pw == NULL || !the_authctxt->valid)
fatal("server_input_global_request: no/invalid user");
listen_address = packet_get_string(NULL);
listen_port = (u_short)packet_get_int();