X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fsieve-manage.el;h=91935772991d4a26e70aca62a96426e58d7c0bf3;hb=a7c213c57c3e3fac5302d4c2fac24422cffa425c;hp=967c721d5628c243467408fcc4b0e38bc6e4419d;hpb=4de364a06aaa125499733860d0a92108973c0b3c;p=gnus diff --git a/lisp/sieve-manage.el b/lisp/sieve-manage.el index 967c721d5..919357729 100644 --- a/lisp/sieve-manage.el +++ b/lisp/sieve-manage.el @@ -1,5 +1,5 @@ ;;; sieve-manage.el --- Implementation of the managesive protocol in elisp -;; Copyright (C) 2001 Free Software Foundation, Inc. +;; Copyright (C) 2001, 2003 Free Software Foundation, Inc. ;; Author: Simon Josefsson @@ -535,7 +535,13 @@ password is remembered in the buffer." (when (looking-at (concat "^\\(OK\\|NO\\)\\( (\\([^)]+\\))\\)?\\( \\(.*\\)\\)?" sieve-manage-server-eol)) - (list (match-string 1) (match-string 3) (match-string 5)))) + (let ((status (match-string 1)) + (resp-code (match-string 3)) + (response (match-string 5))) + (when response + (goto-char (match-beginning 5)) + (setq response (sieve-manage-is-string))) + (list status resp-code response)))) (defun sieve-manage-parse-okno () (let (rsp)