diff options
Diffstat (limited to 'lisp/gnus/dns.el')
-rw-r--r-- | lisp/gnus/dns.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/dns.el b/lisp/gnus/dns.el index 01c373ba954..d73848ca6e5 100644 --- a/lisp/gnus/dns.el +++ b/lisp/gnus/dns.el @@ -343,7 +343,8 @@ If FULLP, return the entire record returned." (decf times step)) (ignore-errors (delete-process process)) - (when tcp-p + (when (and tcp-p + (>= (buffer-size) 2)) (goto-char (point-min)) (delete-region (point) (+ (point) 2))) (unless (zerop (buffer-size)) |