aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-16 17:21:31 +0000
committerRichard M. Stallman1996-08-16 17:21:31 +0000
commitda61a64091aa869699b8d1054263bc2c57546a99 (patch)
tree1b81427652acadc8c2757c40aeeafb69bed3b8a9
parente5de02385e60095947fa5f4ce7bcda0f6656de43 (diff)
downloademacs-da61a64091aa869699b8d1054263bc2c57546a99.tar.gz
emacs-da61a64091aa869699b8d1054263bc2c57546a99.zip
(ange-ftp-process-filter): Discard nulls.
-rw-r--r--lisp/ange-ftp.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ange-ftp.el b/lisp/ange-ftp.el
index 6174ce70c9c..434eaf046cb 100644
--- a/lisp/ange-ftp.el
+++ b/lisp/ange-ftp.el
@@ -1492,6 +1492,10 @@ good, skip, fatal, or unknown."
1492 (let ((buffer (process-buffer proc)) 1492 (let ((buffer (process-buffer proc))
1493 (old-buffer (current-buffer))) 1493 (old-buffer (current-buffer)))
1494 1494
1495 ;; Eliminate nulls.
1496 (while (string-match "\000+" str)
1497 (setq str (replace-match "" nil nil str)))
1498
1495 ;; see if the buffer is still around... it could have been deleted. 1499 ;; see if the buffer is still around... it could have been deleted.
1496 (if (buffer-name buffer) 1500 (if (buffer-name buffer)
1497 (unwind-protect 1501 (unwind-protect