diff options
Diffstat (limited to 'lib/libftp/FtpFilenameChecker.c')
-rw-r--r-- | lib/libftp/FtpFilenameChecker.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libftp/FtpFilenameChecker.c b/lib/libftp/FtpFilenameChecker.c index 0d486c4..99946eb 100644 --- a/lib/libftp/FtpFilenameChecker.c +++ b/lib/libftp/FtpFilenameChecker.c @@ -1,9 +1,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. */ @@ -13,12 +13,12 @@ Commercial usage is also possible with participation of it's author. static char * simplename(char *s) { char *p; - + if ( (p=(char *)strrchr(s,'/')) == NULL ) return s; return p+1; } - + |