diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-17 20:36:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-17 20:36:57 +0000 |
commit | 257dcecd299fb32452b70b4e78fcd722579e97d0 (patch) | |
tree | 3045c33081e766e2acc9453820cffe77982f1414 /lib/libftpio/ftpio.3 | |
parent | 0f0df70b6f18b352556b9294422b310323041524 (diff) | |
download | FreeBSD-src-257dcecd299fb32452b70b4e78fcd722579e97d0.zip FreeBSD-src-257dcecd299fb32452b70b4e78fcd722579e97d0.tar.gz |
Stamp out a potential memory leak.
Make ftpChdir return the server status again - it was more convenient.
Diffstat (limited to 'lib/libftpio/ftpio.3')
-rw-r--r-- | lib/libftpio/ftpio.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libftpio/ftpio.3 b/lib/libftpio/ftpio.3 index 69700c0..db8def2 100644 --- a/lib/libftpio/ftpio.3 +++ b/lib/libftpio/ftpio.3 @@ -84,7 +84,7 @@ will return the error code returned by the foreign server. .Fn ftpChdir attempts to issue a server CD command to the the directory named in .Fa dir. -On success, zero is returned. On failure, -1. +On success, zero is returned. On failure, the error code from the server. .Pp .Fn ftpErrno returns the server failure code for the last operation (useful for seeing |