[Commits] [SCM] claws branch, master, updated. 3.10.1-118-gcb8a2cd

ticho at claws-mail.org ticho at claws-mail.org
Wed Jul 2 08:19:45 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  cb8a2cde4548c62a3ad8052cb6305caa4dcbb8dd (commit)
      from  9ff86db84bc2fdee00d1379fa875d2e6d9e48c2d (commit)

Summary of changes:
 src/plugins/rssyl/rssyl_add_item.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit cb8a2cde4548c62a3ad8052cb6305caa4dcbb8dd
Author: Andrej Kacian <andrej at kacian.sk>
Date:   Wed Jul 2 08:19:01 2014 +0200

    RSSyl: Fix errno declaration in rssyl_add_item() breaking compilation on *BSD

diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c
index 49f4a23..b022271 100644
--- a/src/plugins/rssyl/rssyl_add_item.c
+++ b/src/plugins/rssyl/rssyl_add_item.c
@@ -25,6 +25,7 @@
 #endif
 
 /* Global includes */
+#include <errno.h>
 #include <glib.h>
 #include <glib/gi18n.h>
 #include <string.h>
@@ -269,7 +270,7 @@ void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item)
 	MsgPermFlags oldperm_flags = 0;
 	MsgInfo *msginfo;
 	FILE *f;
-	gint fd, d, dif, errno = 0;
+	gint fd, d, dif;
 	time_t tmpd;
 	gchar *meta_charset = NULL;
 	gchar *baseurl = NULL;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list