[Commits] [SCM] claws branch, master, updated. 3.11.1-28-gf89eee0
ticho at claws-mail.org
ticho at claws-mail.org
Mon Nov 24 01:10:44 CET 2014
The branch, master has been updated
via f89eee0aba27d49665c47d62bec7dd631c8167c2 (commit)
from 1b273487116c4af93474ff615d2624c823a6e364 (commit)
Summary of changes:
src/plugins/rssyl/libfeed/parser_atom10.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit f89eee0aba27d49665c47d62bec7dd631c8167c2
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Mon Nov 24 01:09:52 2014 +0100
RSSyl: fix crash introduced by previous commit
diff --git a/src/plugins/rssyl/libfeed/parser_atom10.c b/src/plugins/rssyl/libfeed/parser_atom10.c
index 9215e91..f1ba9b3 100644
--- a/src/plugins/rssyl/libfeed/parser_atom10.c
+++ b/src/plugins/rssyl/libfeed/parser_atom10.c
@@ -131,7 +131,8 @@ void feed_parser_atom10_end(void *data, const gchar *el)
if( !strcmp(el, "entry") ) {
/* Fix up URL, if it is relative */
- if (!strstr("://", ctx->curitem->url) &&
+ if (ctx->curitem->url != NULL &&
+ !strstr("://", ctx->curitem->url) &&
ctx->feed->link != NULL) {
tmp = g_strconcat(ctx->feed->link,
(ctx->curitem->url[0] == '/' ? "" : "/"),
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list