aboutsummaryrefslogtreecommitdiff
path: root/libplanfahr
diff options
context:
space:
mode:
Diffstat (limited to 'libplanfahr')
-rw-r--r--libplanfahr/providers/hafas-bin6.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libplanfahr/providers/hafas-bin6.c b/libplanfahr/providers/hafas-bin6.c
index 2b2ac1b..6d50c9d 100644
--- a/libplanfahr/providers/hafas-bin6.c
+++ b/libplanfahr/providers/hafas-bin6.c
@@ -888,6 +888,11 @@ lpf_provider_hafas_bin6_activate (LpfProvider *self, GObject *obj)
if (debugstr && strstr (debugstr, "provider"))
priv->debug = TRUE;
+ g_object_set (G_OBJECT (priv->session),
+ SOUP_SESSION_PROXY_RESOLVER,
+ g_proxy_resolver_get_default(),
+ NULL);
+
dir = g_file_new_for_path (priv->logdir);
g_file_make_directory_with_parents (dir, NULL, NULL);
g_object_unref (dir);