aboutsummaryrefslogtreecommitdiff
path: root/libsylph/mh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/mh.c')
-rw-r--r--libsylph/mh.c4
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;