[Dovecot] [PATCH] settings parsing section/context return bug

Timo Sirainen tss at iki.fi
Sun Aug 7 15:52:09 EEST 2005


On Sun, 2005-07-31 at 16:35 +0300, Tom Alsberg wrote:
> There seems to be a minor bug in the settings parsing code (as of
> today's dovecot-stable snapshot - 20050731) - after the closing
> bracket of protocol (imap/pop3) {} section, the parser still regards
> all options as affecting only that protocol and not globally (I have
> some options, protocol imap {}, protocol pop3 {}, and then some more
> options - now those latter options seem to only affect POP3).
> 
> It seems to be solved by the attached patch.  Merely that the
> sub-section level has to be decreased after checking that it is
> positive (for returning the protocol in context to ANY).  Would that
> change (prefix to postfix decrement) break anything else?  If not, can
> it be applied?

Committed to CVS, thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20050807/cef6e873/attachment.pgp


More information about the dovecot mailing list