diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-10-16 09:00:34 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-10-16 09:00:34 +0000 |
commit | 441fdff85f0b2887e2e7206101822da822193b3c (patch) | |
tree | f62b497fd14626e8c14cb7876500ab9d6fb8e7f5 /libsylph/procmsg.c | |
parent | 1d0b765f618f4791d75a1226756d4568ca35be3c (diff) |
libsylph: use itos_buf() because itos() is not thread-safe.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2286 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procmsg.c')
-rw-r--r-- | libsylph/procmsg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libsylph/procmsg.c b/libsylph/procmsg.c index e5c37123..3dde7a0e 100644 --- a/libsylph/procmsg.c +++ b/libsylph/procmsg.c @@ -1309,9 +1309,10 @@ gchar *procmsg_get_message_file_path(MsgInfo *msginfo) else if (msginfo->file_path) return g_strdup(msginfo->file_path); else { + gchar nstr[16]; path = folder_item_get_path(msginfo->folder); file = g_strconcat(path, G_DIR_SEPARATOR_S, - itos(msginfo->msgnum), NULL); + itos_buf(nstr, msginfo->msgnum), NULL); g_free(path); } |