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	Sun Jan 09 21:24:43 2011 +0100
+++ b/scripts/@ftp/close.m	Sun Jan 09 12:41:21 2011 -0800
@@ -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