Mercurial > hg > octave-nkf
diff scripts/@ftp/close.m @ 11469:c776f063fefe
Overhaul m-script files to use common variable name between code and documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 12:41:21 -0800 |
parents | 2c356a35d7f5 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/@ftp/close.m +++ b/scripts/@ftp/close.m @@ -18,10 +18,10 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} close (@var{f}) -## Close the FTP connection represented by given FTP object @var{f}. -## @var{f} is an FTP object returned by the ftp function. +## Close the FTP connection represented by the given FTP object @var{f}. +## @var{f} is an FTP object returned by the @code{ftp} function. ## @end deftypefn -function dir (obj) - __ftp_close__ (obj.curlhandle); +function dir (f) + __ftp_close__ (f.curlhandle); endfunction