summaryrefslogtreecommitdiffstats
path: root/lib/libftpio/ftpio.3
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-06-17 20:36:57 +0000
committerjkh <jkh@FreeBSD.org>1996-06-17 20:36:57 +0000
commit257dcecd299fb32452b70b4e78fcd722579e97d0 (patch)
tree3045c33081e766e2acc9453820cffe77982f1414 /lib/libftpio/ftpio.3
parent0f0df70b6f18b352556b9294422b310323041524 (diff)
downloadFreeBSD-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.32
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
OpenPOWER on IntegriCloud