From: David Kastrup Date: Wed, 14 Aug 2002 22:43:46 +0000 (+0000) Subject: (ange-ftp-wipe-file-entries): Fix type mismatch; X-Git-Tag: ttn-vms-21-2-B4~13689 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7adee48a65a3b328e1113f1aa66e0c50381452ed;p=emacs.git (ange-ftp-wipe-file-entries): Fix type mismatch; use `hash-table-size' instead of `length'. --- diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 35447f19569..bd9a432af7d 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el @@ -2968,7 +2968,8 @@ this also returns nil." (defun ange-ftp-wipe-file-entries (host user) "Get rid of entry for HOST, USER pair from file entry information hashtable." (let ((new-tbl (make-hash-table :test 'equal - :size (length ange-ftp-files-hashtable)))) + :size (hash-table-size + ange-ftp-files-hashtable)))) (maphash (lambda (key val) (let ((parsed (ange-ftp-ftp-name key)))