From 7c6dc2089f5f2e8c1dfca9978b74d8b6b99dcdf5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 25 Oct 2017 21:22:38 +0200 Subject: src/uccs-server.c: Use soup synchronously. --- src/uccs-server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/uccs-server.c b/src/uccs-server.c index c359717..6b7dc5b 100644 --- a/src/uccs-server.c +++ b/src/uccs-server.c @@ -136,7 +136,7 @@ uccs_server_init (UccsServer *self) self->session = NULL; /* Need the soup session before the state changed */ - self->session = soup_session_sync_new(); + self->session = soup_session_new(); nm_state_changed(self->nm_client, NULL, self); uccs_notify_state_change(self); @@ -333,7 +333,7 @@ verify_server (UccsServer * server) } SoupMessage * message = soup_message_new("HEAD", server->parent.uri); - soup_session_queue_message(server->session, message, verify_server_cb, server); + soup_session_send_message(server->session, message, verify_server_cb, server); g_debug("Getting HEAD from: %s", server->parent.uri); return; -- cgit v1.2.3