diff options
author | ache <ache@FreeBSD.org> | 1995-05-14 19:14:53 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-05-14 19:14:53 +0000 |
commit | 4730235f670ce9356bdbb83813f8380ebe7b7980 (patch) | |
tree | 48cb86c2c38abd6cc679bf293a1b8c8a1433ff10 /lib | |
parent | e2ae692e16659c5ad2e64bed87c99dd1bebe64b4 (diff) | |
download | FreeBSD-src-4730235f670ce9356bdbb83813f8380ebe7b7980.zip FreeBSD-src-4730235f670ce9356bdbb83813f8380ebe7b7980.tar.gz |
Fix error returning address of local array
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libftp/FtpPwd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libftp/FtpPwd.c b/lib/libftp/FtpPwd.c index fb74841..4299bcc 100644 --- a/lib/libftp/FtpPwd.c +++ b/lib/libftp/FtpPwd.c @@ -16,7 +16,8 @@ Commercial usage is also possible with participation of it's author. char * FtpPwd(FTP * con) { - String tmp,tmp1; + String tmp; + static String tmp1; int i; if ( FtpSendMessage(con,"PWD") == QUIT ) |