summaryrefslogtreecommitdiffstats
path: root/lib/libftp/FtpPwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libftp/FtpPwd.c')
-rw-r--r--lib/libftp/FtpPwd.c3
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 )
OpenPOWER on IntegriCloud