Handle status request responses to trap errors.
authorTilman Sauerbeck <tilman@code-monkey.de>
Fri, 8 Dec 2006 16:49:26 +0000 (17:49 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Fri, 8 Dec 2006 16:49:26 +0000 (17:49 +0100)
commit276ab5edad1b440db6a7791a832794342ef94fda
tree23c7c908ddbf75b1467a0f9d69a85aaf19baa0ba
parentc0b425d6a1cd0e286d58eca4c1ed415315bd48d2
Handle status request responses to trap errors.

We used to ignore the tagged response to the status request, and
evaluated the untagged response only. This way we couldn't see whether
the command was actually completed successfully. This would result
in the IMAP connection staying open if one of the configured mailboxes
didn't exist.
lib/embrace/imap.rb