RSSyl: Variable typo fix in Windows-specific code.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 30 Jun 2015 12:46:32 +0000 (14:46 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 30 Jun 2015 20:29:48 +0000 (22:29 +0200)
src/plugins/rssyl/rssyl_update_feed.c

index 0f33616..284b548 100644 (file)
@@ -195,7 +195,7 @@ RFetchCtx *rssyl_prep_fetchctx_from_url(gchar *url)
        feed_set_cookies_path(ctx->feed, rssyl_prefs_get()->cookies_path);
        feed_set_ssl_verify_peer(ctx->feed, rssyl_prefs_get()->ssl_verify_peer);
 #ifdef G_OS_WIN32
-       if (!g_ascii_strncasecmp(ritem->url, "https", 5)) {
+       if (!g_ascii_strncasecmp(url, "https", 5)) {
                feed_set_cacert_file(ctx->feed, claws_ssl_get_cert_file());
                debug_print("RSSyl: using cert file '%s'\n", feed_get_cacert_file(ctx->feed));
        }