socketservice: minor cleanup

parent 79e63d4e
......@@ -129,11 +129,7 @@ g_socket_service_changed (GSocketListener *listener)
if (service->priv->outstanding_accept)
g_cancellable_cancel (service->priv->cancellable);
else
{
g_socket_listener_accept_async (listener, service->priv->cancellable,
g_socket_service_ready, NULL);
service->priv->outstanding_accept = TRUE;
}
do_accept (service);
}
G_UNLOCK (active);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment