]> granicus.if.org Git - curl/commit
imap: Code tidy up prior to adding support for the CAPABILITY command
authorSteve Holme <steve_holme@hotmail.com>
Sun, 30 Dec 2012 12:44:09 +0000 (12:44 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 30 Dec 2012 12:44:09 +0000 (12:44 +0000)
commitbd8ae6800674411b10482a5253428abbc83bf308
tree0640aafccb5a0232f87b9b7df32779d48f661c30
parentc02449ca532b67dfc0b48217538f788213b9d8c1
imap: Code tidy up prior to adding support for the CAPABILITY command

* Changing the order of the state machine to represent the order in
  which commands are sent to the server.

* Reworking the imap_endofresp() function as the FETCH response doesn't
  include the command id and shouldn't be part of the length comparison
  that takes into account the id string.
lib/curl_imap.h
lib/imap.c