]> git.eshelyaron.com Git - emacs.git/commitdiff
(ange-ftp-process-filter): Discard nulls.
authorRichard M. Stallman <rms@gnu.org>
Fri, 16 Aug 1996 17:21:31 +0000 (17:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 16 Aug 1996 17:21:31 +0000 (17:21 +0000)
lisp/ange-ftp.el

index 6174ce70c9c8b9bd058abc99e8c79855d0f0c1e0..434eaf046cbcd79b346e3da553e63e36be319227 100644 (file)
@@ -1492,6 +1492,10 @@ good, skip, fatal, or unknown."
   (let ((buffer (process-buffer proc))
        (old-buffer (current-buffer)))
 
+    ;; Eliminate nulls.
+    (while (string-match "\000+" str)
+      (setq str (replace-match "" nil nil str))) 
+
     ;; see if the buffer is still around... it could have been deleted.
     (if (buffer-name buffer)
        (unwind-protect