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 7e475b3ff1db27124879d97a1d5e9b63061166eb..f3a9e0d7b4183f6d37f8c4474dbe6754cc9750e5 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] == '/' ? "" : "/"),