Mercurial > octave-nkf
diff scripts/@ftp/mput.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/mput.m Sun Jan 09 21:24:43 2011 +0100 +++ b/scripts/@ftp/mput.m Sun Jan 09 12:41:21 2011 -0800 @@ -26,10 +26,10 @@ ## files that match the wildcards in @var{file} will be uploaded. ## @end deftypefn -function retval = mput (obj, file) +function retval = mput (f, file) if (nargout == 0) - __ftp_mput__ (obj.curlhandle, file); + __ftp_mput__ (f.curlhandle, file); else - retval = __ftp_mput__ (obj.curlhandle, file); + retval = __ftp_mput__ (f.curlhandle, file); endif endfunction