diff options
author | ache <ache@FreeBSD.org> | 1995-05-13 22:09:52 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-05-13 22:09:52 +0000 |
commit | cf6b207e9dcedad8dcfe450085bf14cea5b4253f (patch) | |
tree | 53ad99f6d2fe86e225f657b07a2b32ab0cd1392f /lib | |
parent | 87576e5822237fb99b6542e40cee0090199f3eb4 (diff) | |
download | FreeBSD-src-cf6b207e9dcedad8dcfe450085bf14cea5b4253f.zip FreeBSD-src-cf6b207e9dcedad8dcfe450085bf14cea5b4253f.tar.gz |
Fix FtpPasv to not return address of local variable, close PR 399
Submitted by: John Capo <jc@irbs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libftp/FtpPasv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libftp/FtpPasv.c b/lib/libftp/FtpPasv.c index d2959b7..3db132a 100644 --- a/lib/libftp/FtpPasv.c +++ b/lib/libftp/FtpPasv.c @@ -19,7 +19,7 @@ Commercial usage is also possible with participation of it's author. char * FtpPasv (FTP *ftp) { char *msg; - String PORT; + static String PORT; char *p=PORT; if FtpError(FtpCommand(ftp,"PASV","",227,EOF)) |