aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/xmlrpc-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/xmlrpc-client.c')
-rw-r--r--hardinfo2/xmlrpc-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/xmlrpc-client.c b/hardinfo2/xmlrpc-client.c
index ae8b1078..2d3b21e8 100644
--- a/hardinfo2/xmlrpc-client.c
+++ b/hardinfo2/xmlrpc-client.c
@@ -27,11 +27,11 @@ static SoupSession *session = NULL;
void xmlrpc_init(void)
{
if (!loop) {
- loop = g_main_loop_new(FALSE, TRUE);
+ loop = g_main_loop_new(FALSE, FALSE);
}
if (!session) {
- session = soup_session_async_new_with_options(SOUP_SESSION_TIMEOUT, 10, NULL);
+ session = soup_session_sync_new_with_options(SOUP_SESSION_TIMEOUT, 10, NULL);
}
}