]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak nnimap sequence numbers to avoid reuse
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 11:40:29 +0000 (13:40 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 13 Apr 2018 11:41:31 +0000 (13:41 +0200)
* lisp/gnus/nnimap.el (nnimap-sequence): Start the sequence at a
higher number to avoid reusing the sequence number used by
`open-network-stream' (bug#30022).

lisp/gnus/nnimap.el

index 01d7948afba3e2fa83f8368716e562aed3036317..65d40eba6986720079a0ff65dd9d077520f3c082 100644 (file)
@@ -1865,7 +1865,7 @@ Return the server's response to the SELECT or EXAMINE command."
        (setq nnimap-connection-alist (delq entry nnimap-connection-alist))
        nil))))
 
-(defvar nnimap-sequence 0)
+(defvar nnimap-sequence 5)
 
 (defun nnimap-send-command (&rest args)
   (setf (nnimap-last-command-time nnimap-object) (current-time))