projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b27348
)
RSSyl: fix crash introduced by previous commit
author
Andrej Kacian
<ticho@claws-mail.org>
Mon, 24 Nov 2014 00:09:52 +0000
(
01:09
+0100)
committer
Andrej Kacian
<ticho@claws-mail.org>
Mon, 24 Nov 2014 00:09:52 +0000
(
01:09
+0100)
src/plugins/rssyl/libfeed/parser_atom10.c
patch
|
blob
|
history
diff --git
a/src/plugins/rssyl/libfeed/parser_atom10.c
b/src/plugins/rssyl/libfeed/parser_atom10.c
index 9215e913cdff5cd4696b21e3c77b800b605f9d97..f1ba9b39168cf25cab6e926934a8a0d84b376e7a 100644
(file)
--- 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] == '/' ? "" : "/"),