diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-25 21:22:38 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-10-25 21:22:38 +0200 |
commit | 7c6dc2089f5f2e8c1dfca9978b74d8b6b99dcdf5 (patch) | |
tree | 8fd5ffb883124a6c35084dd7ff7f7cfa56042783 /src | |
parent | 7c499da9e0c5e4c4e8721bf542facf58977feeb9 (diff) | |
download | remote-logon-service-7c6dc2089f5f2e8c1dfca9978b74d8b6b99dcdf5.tar.gz remote-logon-service-7c6dc2089f5f2e8c1dfca9978b74d8b6b99dcdf5.tar.bz2 remote-logon-service-7c6dc2089f5f2e8c1dfca9978b74d8b6b99dcdf5.zip |
src/uccs-server.c: Use soup synchronously.
Diffstat (limited to 'src')
-rw-r--r-- | src/uccs-server.c | 4 |
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; |