Mercurial > hg > octave-nkf
diff scripts/@ftp/ascii.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/ascii.m +++ b/scripts/@ftp/ascii.m @@ -19,9 +19,9 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} ascii (@var{f}) ## Put the FTP connection @var{f} into ascii mode. -## @var{f} is an FTP object returned by the ftp function. +## @var{f} is an FTP object returned by the @code{ftp} function. ## @end deftypefn -function ascii (obj) - __ftp_ascii__ (obj.curlhandle); +function ascii (f) + __ftp_ascii__ (f.curlhandle); endfunction