aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-04-13 13:40:29 +0200
committerLars Ingebrigtsen2018-04-13 13:41:31 +0200
commitc7abc5760bd18f082c9c028d3a5e108200d35d48 (patch)
tree9faa4bfab3b5c17274d2847da92ea1738107a2c3
parenta20d2e6625392cced400f5983f998bf2673c9d57 (diff)
downloademacs-c7abc5760bd18f082c9c028d3a5e108200d35d48.tar.gz
emacs-c7abc5760bd18f082c9c028d3a5e108200d35d48.zip
Tweak nnimap sequence numbers to avoid reuse
* 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).
-rw-r--r--lisp/gnus/nnimap.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 01d7948afba..65d40eba698 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -1865,7 +1865,7 @@ Return the server's response to the SELECT or EXAMINE command."
1865 (setq nnimap-connection-alist (delq entry nnimap-connection-alist)) 1865 (setq nnimap-connection-alist (delq entry nnimap-connection-alist))
1866 nil)))) 1866 nil))))
1867 1867
1868(defvar nnimap-sequence 0) 1868(defvar nnimap-sequence 5)
1869 1869
1870(defun nnimap-send-command (&rest args) 1870(defun nnimap-send-command (&rest args)
1871 (setf (nnimap-last-command-time nnimap-object) (current-time)) 1871 (setf (nnimap-last-command-time nnimap-object) (current-time))