projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
imap
/
message.c
diff --git
a/imap/message.c
b/imap/message.c
index
2eb0277
..
e7f8ce5
100644
(file)
--- a/
imap/message.c
+++ b/
imap/message.c
@@
-27,6
+27,10
@@
#include "pgp.h"
#endif
#include "pgp.h"
#endif
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
#if HAVE_STDINT_H
#include <stdint.h>
#elif HAVE_INTTYPES_H
#if HAVE_STDINT_H
#include <stdint.h>
#elif HAVE_INTTYPES_H
@@
-67,7
+71,7
@@
int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend)
#if USE_HCACHE
void *hc = NULL;
#if USE_HCACHE
void *hc = NULL;
- u
int64_t
*uid_validity = NULL;
+ u
nsigned long
*uid_validity = NULL;
char uid_buf[64];
#endif /* USE_HCACHE */
char uid_buf[64];
#endif /* USE_HCACHE */
@@
-150,7
+154,7
@@
int imap_read_headers (IMAP_DATA * idata, int msgbegin, int msgend)
sprintf (uid_buf, "/%u", h.data->uid); /* XXX --tg 21:41 04-07-11 */
uid_validity =
sprintf (uid_buf, "/%u", h.data->uid); /* XXX --tg 21:41 04-07-11 */
uid_validity =
- (u
int64_t
*) mutt_hcache_fetch (hc, uid_buf, &imap_hcache_keylen);
+ (u
nsigned long
*) mutt_hcache_fetch (hc, uid_buf, &imap_hcache_keylen);
if (uid_validity != NULL && *uid_validity == idata->uid_validity) {
ctx->hdrs[msgno] =
if (uid_validity != NULL && *uid_validity == idata->uid_validity) {
ctx->hdrs[msgno] =