[Commits] [SCM] claws branch, master, updated. 3.11.1-134-gcb7105c
ticho at claws-mail.org
ticho at claws-mail.org
Tue Jun 16 22:55:22 CEST 2015
The branch, master has been updated
via cb7105cb923b786e1ce1f49c1456db538bae0d87 (commit)
from d510ecf8b865ce63b4074692eb8c80c0bfe7d704 (commit)
Summary of changes:
src/plugins/rssyl/claws.def | 1 -
src/plugins/rssyl/rssyl_add_item.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit cb7105cb923b786e1ce1f49c1456db538bae0d87
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Tue Jun 16 22:54:36 2015 +0200
RSSyl: Use g_mkstemp() instead of mkstemp()
diff --git a/src/plugins/rssyl/claws.def b/src/plugins/rssyl/claws.def
index da5dcbd..8e94255 100644
--- a/src/plugins/rssyl/claws.def
+++ b/src/plugins/rssyl/claws.def
@@ -84,7 +84,6 @@ mainwindow_get_mainwindow
make_dir
make_dir_hier
mh_get_class
-mkstemp
move_file
msgcache_destroy
prefs_common
diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c
index 3f05cb1..c2258f9 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;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list