aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/uccs-server.c4
1 files changed, 2 insertions, 2 deletions
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;