Commit 5a42089a authored by Olivier Crête's avatar Olivier Crête 👻

agent: Set error if it isn't set

parent dbaf8f5c
......@@ -4280,7 +4280,7 @@ nice_agent_recv_cancelled_cb (GCancellable *cancellable, gpointer user_data)
GError **error = user_data;
if (error && *error)
if (error && !*error)
g_cancellable_set_error_if_cancelled (cancellable, error);
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