Commit a05725fd authored by Stef Walter's avatar Stef Walter Committed by Stef Walter
Browse files

Set the session correctly on the service

parent 76ae17b2
......@@ -385,8 +385,8 @@ on_service_open_session_aes (GObject *source,
if (response_open_session_aes (closure->session, response)) {
/* Set value atomically, in case of race condition */
if (!g_atomic_pointer_compare_and_exchange (&(self->pv->session),
NULL, closure->session))
if (g_atomic_pointer_compare_and_exchange (&(self->pv->session),
NULL, closure->session))
closure->session = NULL; /* Service takes ownership */
} else {
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