RSSyl: Fix argument order for strstr() in Atom parser.
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 27 Nov 2014 02:23:46 +0000 (03:23 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 27 Nov 2014 02:23:46 +0000 (03:23 +0100)
src/plugins/rssyl/libfeed/parser_atom10.c

index 7e475b3..f3a9e0d 100644 (file)
@@ -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] == '/' ? "" : "/"),