diff options
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readconf.c b/readconf.c index 1e3c13239..cf27a9f41 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: readconf.c,v 1.142 2005/07/17 07:17:55 djm Exp $"); | 15 | RCSID("$OpenBSD: readconf.c,v 1.143 2005/07/30 02:03:47 djm Exp $"); |
16 | 16 | ||
17 | #include "ssh.h" | 17 | #include "ssh.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -695,7 +695,7 @@ parse_int: | |||
695 | fwd.listen_host = cleanhostname(fwd.listen_host); | 695 | fwd.listen_host = cleanhostname(fwd.listen_host); |
696 | } else { | 696 | } else { |
697 | fwd.listen_port = a2port(fwd.listen_host); | 697 | fwd.listen_port = a2port(fwd.listen_host); |
698 | fwd.listen_host = ""; | 698 | fwd.listen_host = NULL; |
699 | } | 699 | } |
700 | if (fwd.listen_port == 0) | 700 | if (fwd.listen_port == 0) |
701 | fatal("%.200s line %d: Badly formatted port number.", | 701 | fatal("%.200s line %d: Badly formatted port number.", |