aboutsummaryrefslogtreecommitdiff
path: root/src/input/SoupInputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/SoupInputPlugin.cxx')
-rw-r--r--src/input/SoupInputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/SoupInputPlugin.cxx b/src/input/SoupInputPlugin.cxx
index a591a292..5a60fa72 100644
--- a/src/input/SoupInputPlugin.cxx
+++ b/src/input/SoupInputPlugin.cxx
@@ -26,6 +26,7 @@ extern "C" {
}
#include "IOThread.hxx"
+#include "event/Loop.hxx"
#include "conf.h"
extern "C" {
@@ -105,7 +106,7 @@ input_soup_init(const struct config_param *param, GError **error_r)
soup_session_async_new_with_options(SOUP_SESSION_PROXY_URI,
soup_proxy,
SOUP_SESSION_ASYNC_CONTEXT,
- io_thread_context(),
+ io_thread_get().GetContext(),
NULL);
return true;