Commit da61a640 authored by Richard M. Stallman's avatar Richard M. Stallman

(ange-ftp-process-filter): Discard nulls.

parent e5de0238
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment