Added the mailbox_uidvalidity variable to the per-connection structure
in preparation for checking the UIDVALIDITY mailbox attribute.
/* Cleanup the SASL module */
Curl_sasl_cleanup(conn, imapc->authused);
+ /* Cleanup our connection based variables */
+ Curl_safefree(imapc->mailbox_uidvalidity);
+
return CURLE_OK;
}
bool tls_supported; /* StartTLS capability supported by server */
bool login_disabled; /* LOGIN command explicitly disabled by server */
bool ir_supported; /* Initial response supported by server */
+ char *mailbox_uidvalidity; /* UIDVALIDITY parsed from SELECT response */
};
extern const struct Curl_handler Curl_handler_imap;