aboutsummaryrefslogtreecommitdiff
path: root/libsylph/mh.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-03-16 02:54:54 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-03-16 02:54:54 +0000
commit3ad4efad565998dda3a31d9d4d2a4dceda980aac (patch)
tree9f9e463dc38434e3618b55d6fc4b031e47647cc3 /libsylph/mh.c
parent3fbaadae0b540884a19da369b14bedc607164384 (diff)
unix: fixed infinite loop bug.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2120 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/mh.c')
-rw-r--r--libsylph/mh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/mh.c b/libsylph/mh.c
index 4b68cd3a..abbfc23d 100644
--- a/libsylph/mh.c
+++ b/libsylph/mh.c
@@ -459,7 +459,7 @@ static gint mh_add_msgs(Folder *folder, FolderItem *dest, GSList *file_list,
if (first_ == 0 || first_ > dest->last_num + 1)
first_ = dest->last_num + 1;
- if (g_link(fileinfo->file, destfile) < 0) {
+ if (syl_link(fileinfo->file, destfile) < 0) {
if (copy_file(fileinfo->file, destfile, TRUE) < 0) {
g_warning(_("can't copy message %s to %s\n"),
fileinfo->file, destfile);