summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ange-ftp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index d9af92f83ea..6c822d4604a 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -3501,7 +3501,7 @@ system TYPE.")
(ange-ftp-send-cmd
f-host
f-user
- (list 'get f-name (or temp1 newname))
+ (list 'get f-name (or temp1 (ange-ftp-quote-string newname)))
(or msg
(if (and temp1 t-parsed)
(format "Getting %s" f-abbr)