From ce89dacda8fed7173cb444bf5e5efc0483b6491f Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 12 Sep 2001 16:58:04 +0000 Subject: [PATCH] - camield@cvs.openbsd.org 2001/08/23 17:59:31 [sshd.c] end request with 0, not NULL ok markus@ --- ChangeLog | 6 +++++- sshd.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 900b40fbd..4a001ea35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,10 @@ - stevesk@cvs.openbsd.org 2001/08/22 17:45:16 [ssh.1] document cipher des for protocol 1; ok deraadt@ + - camield@cvs.openbsd.org 2001/08/23 17:59:31 + [sshd.c] + end request with 0, not NULL + ok markus@ 20010815 - (bal) Fixed stray code in readconf.c that went in by mistake. @@ -6345,4 +6349,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1491 2001/09/12 16:52:28 mouring Exp $ +$Id: ChangeLog,v 1.1492 2001/09/12 16:58:04 mouring Exp $ diff --git a/sshd.c b/sshd.c index b6adc38cb..aa822df17 100644 --- a/sshd.c +++ b/sshd.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.203 2001/07/26 17:18:22 stevesk Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.204 2001/08/23 17:59:31 camield Exp $"); #include #include @@ -1138,7 +1138,7 @@ main(int ac, char **av) { struct request_info req; - request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, NULL); + request_init(&req, RQ_DAEMON, __progname, RQ_FILE, sock_in, 0); fromhost(&req); if (!hosts_access(&req)) {