From 889e4d55f531ed7bd8327893c688419c78882c06 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 10 Jan 2010 22:30:40 +0800 Subject: [PATCH] * sieve-manage.el (sieve-manage-parse-capability-1): Loosely match OK response. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/sieve-manage.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 2e90bf6e824..cb4c24a39db 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2010-01-08 Jason Rumney + + * sieve-manage.el (sieve-manage-parse-capability-1): Loosely match OK + response. + 2010-01-06 Katsumi Yamaoka * gnus-art.el (gnus-article-describe-bindings): Work for prefix keys. diff --git a/lisp/gnus/sieve-manage.el b/lisp/gnus/sieve-manage.el index c40c6fc2cd9..2dcff055680 100644 --- a/lisp/gnus/sieve-manage.el +++ b/lisp/gnus/sieve-manage.el @@ -636,7 +636,7 @@ password is remembered in the buffer." sieve-manage-capability)) (push (list str) sieve-manage-capability)) (forward-line))) - (when (re-search-forward (concat "^OK" sieve-manage-server-eol) nil t) + (when (re-search-forward (concat "^OK.*" sieve-manage-server-eol) nil t) (setq sieve-manage-state 'nonauth))) (defalias 'sieve-manage-parse-greeting-1 'sieve-manage-parse-capability-1) -- 2.39.2