From: Lars Ingebrigtsen Date: Sun, 20 Feb 2011 01:03:16 +0000 (-0800) Subject: (nnimap-wait-for-response): Ensure that we get the entire line we're waiting for. X-Git-Url: https://cgit.sxemacs.org/?p=gnus;a=commitdiff_plain;h=926f7e5310c3e3fffda7951d369f38a52de5445b (nnimap-wait-for-response): Ensure that we get the entire line we're waiting for. --- diff --git a/lisp/nnimap.el b/lisp/nnimap.el index 6b726b237..83b8c4162 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1641,7 +1641,7 @@ textual parts.") (progn (forward-line -1) (looking-at "\\*")))) - (not (looking-at (format "%d " sequence))))) + (not (looking-at (format "%d .*\n" sequence))))) (when messagep (nnheader-message 7 "nnimap read %dk" (/ (buffer-size) 1000))) (nnheader-accept-process-output process)