]> code.delx.au - gnu-emacs/commitdiff
(ange-ftp-file-attributes):
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Jan 2004 13:58:18 +0000 (13:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Jan 2004 13:58:18 +0000 (13:58 +0000)
Pass 2 args to ange-ftp-real-file-attributes only if ID-FORMAT non-nil.

lisp/net/ange-ftp.el

index 0277bd0aabc0cd2a6ba71d2e59572063df52a3e4..8e1068a5bed6ccdb505a1d596846b2c417c0d79f 100644 (file)
@@ -3468,7 +3468,9 @@ system TYPE.")
                      inode             ;10 "inode number".
                      -1                ;11 device number [v19 only]
                      ))))
-      (ange-ftp-real-file-attributes file id-format))))
+      (if id-format
+         (ange-ftp-real-file-attributes file id-format)
+       (ange-ftp-real-file-attributes file)))))
 
 (defun ange-ftp-file-newer-than-file-p (f1 f2)
   (let ((f1-parsed (ange-ftp-ftp-name f1))