diff options
Diffstat (limited to 'lib/libftp/FtpPwd.c')
-rw-r--r-- | lib/libftp/FtpPwd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libftp/FtpPwd.c b/lib/libftp/FtpPwd.c index 4299bccf12887..59c792dfdfcfc 100644 --- a/lib/libftp/FtpPwd.c +++ b/lib/libftp/FtpPwd.c @@ -2,9 +2,9 @@ Library for ftpd clients.(libftp) Copyright by Oleg Orel All rights reserved. - -This library is desined for free, non-commercial software creation. -It is changeable and can be improved. The author would greatly appreciate + +This library is desined for free, non-commercial software creation. +It is changeable and can be improved. The author would greatly appreciate any advises, new components and patches of the existing programs. Commercial usage is also possible with participation of it's author. @@ -19,12 +19,12 @@ char * FtpPwd(FTP * con) String tmp; static String tmp1; int i; - + if ( FtpSendMessage(con,"PWD") == QUIT ) return (char *) EXIT(con,QUIT); if ( (i=FtpGetMessage(con,tmp)) == QUIT ) return (char *) EXIT(con,QUIT); - + if ( i != 257 ) return (char *) EXIT(con,-i); |