diff options
Diffstat (limited to 'lisp/gnus/dns.el')
-rw-r--r-- | lisp/gnus/dns.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/dns.el b/lisp/gnus/dns.el index d6c41ea823e..5069230e736 100644 --- a/lisp/gnus/dns.el +++ b/lisp/gnus/dns.el @@ -347,7 +347,7 @@ If FULLP, return the entire record returned." (>= (buffer-size) 2)) (goto-char (point-min)) (delete-region (point) (+ (point) 2))) - (unless (zerop (buffer-size)) + (when (>= (buffer-size) 2) (let ((result (dns-read (buffer-string)))) (if fullp result |