projects
/
gnus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4d4863
)
(query-dns): Protect against "Process dns deleted" strings.
author
Lars Magne Ingebrigtsen
<larsi@gnus.org>
Thu, 23 Nov 2006 07:28:38 +0000
(07:28 +0000)
committer
Lars Magne Ingebrigtsen
<larsi@gnus.org>
Thu, 23 Nov 2006 07:28:38 +0000
(07:28 +0000)
lisp/dns.el
patch
|
blob
|
history
diff --git
a/lisp/dns.el
b/lisp/dns.el
index
05b2f73
..
2127835
100644
(file)
--- a/
lisp/dns.el
+++ b/
lisp/dns.el
@@
-408,7
+408,9
@@
If REVERSEP, look up an IP address."
(>= (buffer-size) 2))
(goto-char (point-min))
(delete-region (point) (+ (point) 2)))
- (when (>= (buffer-size) 2)
+ (when (and (>= (buffer-size) 2)
+ ;; We had a time-out.
+ (> times 0))
(let ((result (dns-read (buffer-string))))
(if fullp
result