add xref at the bottom of X11 section to options in config.but
[u/mdw/putty] / ssh.c
diff --git a/ssh.c b/ssh.c
index 2019d48..3616d21 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -3469,7 +3469,7 @@ static void ssh1_protocol(Ssh ssh, unsigned char *in, int inlen, int ispkt)
                    pf = snew(struct ssh_rportfwd);
                    strcpy(pf->dhost, host);
                    pf->dport = dport;
-                   if (saddr) {
+                   if (*saddr) {
                        logeventf(ssh,
                                  "SSH1 cannot handle source address spec \"%s:%d\"; ignoring",
                                  saddr, sport);