X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fmessage.c;h=d780c9c99e2cad46f7126ffd92ecd1af6198e0bb;hb=9eb790d6eb4a56416d342816e1140aabd9c12de8;hp=3980496fed618e71c1b91231a34d70be4bbd791e;hpb=558b0bd9de90a9dc28f409d8f46679bf48c72ded;p=apps%2Fmadmutt.git diff --git a/imap/message.c b/imap/message.c index 3980496..d780c9c 100644 --- a/imap/message.c +++ b/imap/message.c @@ -57,7 +57,7 @@ int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend) "DATE FROM SUBJECT TO CC MESSAGE-ID REFERENCES CONTENT-TYPE CONTENT-DESCRIPTION IN-REPLY-TO REPLY-TO LINES LIST-POST X-LABEL"; #ifdef USE_HCACHE - void *hc = NULL; + hcache_t *hc = NULL; unsigned long *uid_validity = NULL; char uid_buf[64]; #endif /* USE_HCACHE */ @@ -164,7 +164,7 @@ int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend) if ((mfhrc < -1) || ((rc != IMAP_CMD_CONTINUE) && (rc != IMAP_CMD_OK))) { imap_free_header_data((void *)&h.data); m_fclose(&fp); - mutt_hcache_close (hc); + mutt_hcache_close (&hc); return -1; } } @@ -264,7 +264,7 @@ int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend) imap_free_header_data ((void *)&h.data); m_fclose(&fp); #ifdef USE_HCACHE - mutt_hcache_close (hc); + mutt_hcache_close (&hc); #endif /* USE_HCACHE */ return -1; } @@ -280,7 +280,7 @@ int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend) } #ifdef USE_HCACHE - mutt_hcache_close (hc); + mutt_hcache_close (&hc); #endif /* USE_HCACHE */ m_fclose(&fp);