From: Jason Rumney Date: Sun, 10 Jan 2010 14:30:40 +0000 (+0800) Subject: * sieve-manage.el (sieve-manage-parse-capability-1): Loosely match OK response. X-Git-Tag: emacs-pretest-23.1.92~56 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=889e4d55f531ed7bd8327893c688419c78882c06;p=emacs.git * sieve-manage.el (sieve-manage-parse-capability-1): Loosely match OK response. --- 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)