talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 5c904ffa6257f591d0ffde8d90faa592bc384270
parent 3143d89fc0f2124fd43c5da5a776f2349408033d
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Thu, 27 Nov 2014 03:23:46 +0100

RSSyl: Fix argument order for strstr() in Atom parser.

Diffstat:
Msrc/plugins/rssyl/libfeed/parser_atom10.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/rssyl/libfeed/parser_atom10.c b/src/plugins/rssyl/libfeed/parser_atom10.c @@ -135,7 +135,7 @@ void feed_parser_atom10_end(void *data, const gchar *el) /* Fix up URL, if it is relative */ if (ctx->curitem->url != NULL && - !strstr("://", ctx->curitem->url) && + !strstr(ctx->curitem->url, "://") && ctx->feed->link != NULL) { tmp = g_strconcat(ctx->feed->link, (ctx->curitem->url[0] == '/' ? "" : "/"),