From 8c0dc0dbd242f56c81f7801e86c9b3b5e86b4e69 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Sat, 30 Jul 2005 02:03:48 +0000 Subject: listen_hosts initialisation here too; spotted greg AT y2005.nest.cx --- usr.bin/ssh/readconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/readconf.c') diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c index ed2119c8ddc..8986dba06be 100644 --- a/usr.bin/ssh/readconf.c +++ b/usr.bin/ssh/readconf.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: readconf.c,v 1.142 2005/07/17 07:17:55 djm Exp $"); +RCSID("$OpenBSD: readconf.c,v 1.143 2005/07/30 02:03:47 djm Exp $"); #include "ssh.h" #include "xmalloc.h" @@ -693,7 +693,7 @@ parse_int: fwd.listen_host = cleanhostname(fwd.listen_host); } else { fwd.listen_port = a2port(fwd.listen_host); - fwd.listen_host = ""; + fwd.listen_host = NULL; } if (fwd.listen_port == 0) fatal("%.200s line %d: Badly formatted port number.", -- cgit v1.2.3