diff options
Diffstat (limited to 'crypto/telnet')
-rw-r--r-- | crypto/telnet/telnet/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/telnet/telnet/commands.c b/crypto/telnet/telnet/commands.c index 24e5e43..0d4bd38 100644 --- a/crypto/telnet/telnet/commands.c +++ b/crypto/telnet/telnet/commands.c @@ -2507,7 +2507,7 @@ tn(argc, argv) res0 = res; af_again: if (srcroute != 0) { - char hostbuf[BUFSIZ]; + static char hostbuf[BUFSIZ]; if (af_error == 0) { /* save intermediate hostnames for retry */ strncpy(hostbuf, hostp, BUFSIZ - 1); |