Propagate STATUS responses to folders directly from imapx_untagged()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 23 Jun 2010 11:07:33 +0000 (12:07 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 24 Jun 2010 11:03:46 +0000 (12:03 +0100)
commit61859b2fd607c86cd0dcf68c0fcfbc9ee86db9b2
tree47fd2770df3503fd1a05da88df10523589c6366c
parentf37622b28fb984c24706621631b54a20cadcbb31
Propagate STATUS responses to folders directly from imapx_untagged()

Storing this in the server-global variables like is->exists is broken;
any SELECT command which is sent between the untagged STATUS response
and the tagged completion of the command is going to overwrite the data.
Not to mention the fact that LIST-STATUS and NOTIFY will be totally hosed,
when we get more than one untagged STATUS response between tagged commands.
camel/providers/imapx/camel-imapx-server.c
camel/providers/imapx/camel-imapx-utils.c
camel/providers/imapx/camel-imapx-utils.h