author | zautrix <zautrix> | 2004-09-01 10:23:29 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-01 10:23:29 (UTC) |
commit | 6cefbdc9c8f3f3001373f10715361e2740c45395 (patch) (unidiff) | |
tree | cb2c36f57620e698913c27ca4ebe59e4a7c9d46e /kmicromail/libetpan/generic/mboxdriver_tools.c | |
parent | b9257cb225cd29bab5d96fcdaf557926603ee587 (diff) | |
download | kdepimpi-6cefbdc9c8f3f3001373f10715361e2740c45395.zip kdepimpi-6cefbdc9c8f3f3001373f10715361e2740c45395.tar.gz kdepimpi-6cefbdc9c8f3f3001373f10715361e2740c45395.tar.bz2 |
Mail fixes and libetpan updated
Diffstat (limited to 'kmicromail/libetpan/generic/mboxdriver_tools.c') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/libetpan/generic/mboxdriver_tools.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kmicromail/libetpan/generic/mboxdriver_tools.c b/kmicromail/libetpan/generic/mboxdriver_tools.c index 1e27798..252a20b 100644 --- a/kmicromail/libetpan/generic/mboxdriver_tools.c +++ b/kmicromail/libetpan/generic/mboxdriver_tools.c | |||
@@ -216,9 +216,10 @@ mboxdriver_get_cached_flags(struct mail_cache_db * cache_db, | |||
216 | } | 216 | } |
217 | 217 | ||
218 | info = data.data; | 218 | info = data.data; |
219 | 219 | ||
220 | snprintf(keyname, PATH_MAX, "%u-%u-flags", num, info->msg_body_len); | 220 | snprintf(keyname, PATH_MAX, "%u-%lu-flags", num, |
221 | (unsigned long) info->msg_body_len); | ||
221 | 222 | ||
222 | r = generic_cache_flags_read(cache_db, mmapstr, keyname, &flags); | 223 | r = generic_cache_flags_read(cache_db, mmapstr, keyname, &flags); |
223 | if (r != MAIL_NO_ERROR) { | 224 | if (r != MAIL_NO_ERROR) { |
224 | res = r; | 225 | res = r; |