X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fplugins%2Frssyl%2Frssyl_add_item.c;h=c2258f9e842266e105cb3fb0f1a6a2af09392fea;hp=3f05cb1e4bb8b1beb6c8f019e1d7af7091d55079;hb=cb7105cb923b786e1ce1f49c1456db538bae0d87;hpb=d510ecf8b865ce63b4074692eb8c80c0bfe7d704 diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c index 3f05cb1e4..c2258f9e8 100644 --- a/src/plugins/rssyl/rssyl_add_item.c +++ b/src/plugins/rssyl/rssyl_add_item.c @@ -374,8 +374,8 @@ void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item) dirname = folder_item_get_path(&ritem->item); template = g_strconcat(dirname, G_DIR_SEPARATOR_S, RSSYL_TMP_TEMPLATE, NULL); - if ((fd = mkstemp(template)) < 0) { - g_warning("Couldn't mkstemp('%s'), not adding message!\n", template); + if ((fd = g_mkstemp(template)) < 0) { + g_warning("Couldn't g_mkstemp('%s'), not adding message!\n", template); g_free(template); return; }