diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-02 09:26:54 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-11-02 09:26:54 +0000 |
commit | 243e6b84eb31ffd7d1def387ad2c2ec471049aaa (patch) | |
tree | f69b065208f537920cb7634c96b4f9ac77896b32 /libsylph/mh.c | |
parent | e667a6f3d8c6514878e184b1c8541cb5f31083d8 (diff) |
more fix for UID more than INT_MAX.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2327 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/mh.c')
-rw-r--r-- | libsylph/mh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsylph/mh.c b/libsylph/mh.c index 71eb2a26..e86b5671 100644 --- a/libsylph/mh.c +++ b/libsylph/mh.c @@ -365,7 +365,7 @@ static gchar *mh_fetch_msg(Folder *folder, FolderItem *item, gint num) return NULL; path = folder_item_get_path(item); - file = g_strconcat(path, G_DIR_SEPARATOR_S, itos_buf(buf, num), NULL); + file = g_strconcat(path, G_DIR_SEPARATOR_S, utos_buf(buf, num), NULL); g_free(path); if (!is_file_exist(file)) { g_free(file); @@ -933,7 +933,7 @@ static gboolean mh_is_msg_changed(Folder *folder, FolderItem *item, struct stat s; gchar buf[16]; - if (g_stat(itos_buf(buf, msginfo->msgnum), &s) < 0 || + if (g_stat(utos_buf(buf, msginfo->msgnum), &s) < 0 || msginfo->size != s.st_size || msginfo->mtime != s.st_mtime) return TRUE; |