Merge pull request #194 from zhanleewo/patch-2

Update mailimap.c
merge-experiment
Hoà V. DINH 8 years ago
commit 2dd94c732b

@ -2389,7 +2389,11 @@ int mailimap_parse_response(mailimap * session,
return MAILIMAP_ERROR_FATAL;
}
snprintf(tag_str, 15, "%i", session->imap_tag);
if(mailimap_is_163_workaround_enabled(session))
snprintf(tag_str, 15, "C%i", session->imap_tag);
else
snprintf(tag_str, 15, "%i", session->imap_tag);
if (strcmp(response->rsp_resp_done->rsp_data.rsp_tagged->rsp_tag, tag_str) != 0) {
mailimap_response_free(response);
return MAILIMAP_ERROR_PROTOCOL;

Loading…
Cancel
Save