Fix bug 4325 "Following redirects when retrieving image"
[claws.git] / src / plugins / libravatar / libravatar_prefs.h
index 2e81aff693e5f934cd0d2286dbc3a45f48209c20..2e4cb93c3babc0e0d56d48aa197b4a1ab16fb877 100644 (file)
@@ -44,10 +44,13 @@ struct _LibravatarPrefs
        guint           default_mode;
        gchar           *default_mode_url;
        gboolean        allow_redirects;
-#if (defined USE_GNUTLS && GLIB_CHECK_VERSION(2,22,0))
+#if defined USE_GNUTLS
        gboolean        allow_federated;
 #endif
        guint           timeout;
+       guint           max_redirects_url; /* hidden pref */
+       guint           max_redirects_mm; /* hidden pref */
+       guint           max_redirects;   /* hidden pref */
 };
 
 extern LibravatarPrefs libravatarprefs;