diff --git a/src/FavIcon.vala b/src/FavIcon.vala index 25d29ace..ced252cd 100644 --- a/src/FavIcon.vala +++ b/src/FavIcon.vala @@ -288,7 +288,7 @@ public class FeedReader.FavIcon : GLib.Object } // try domainname/favicon.ico - GLib.Uri uri; + GLib.Uri uri = null; try { uri = GLib.Uri.parse(m_feed.getURL(), GLib.UriFlags.NONE); } catch (GLib.UriError e) { @@ -340,7 +340,7 @@ public class FeedReader.FavIcon : GLib.Object string html; try { - var bodyStream = yield Utils.getSession().send_async(message_html); + var bodyStream = yield Utils.getSession().send_async(message_html, 2, cancellable); html = (string)yield Utils.inputStreamToArray(bodyStream, cancellable); } catch (Error e) @@ -438,7 +438,7 @@ public class FeedReader.FavIcon : GLib.Object uint8[]? data; try { - var bodyStream = yield Utils.getSession().send_async(message, cancellable); + var bodyStream = yield Utils.getSession().send_async(message, 1, cancellable); data = yield Utils.inputStreamToArray(bodyStream, cancellable); } catch (Error e)