Commit a6574f11 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

we should accept NULL as a context for attaching the recv callback

parent 39b4f24a
......@@ -2643,7 +2643,7 @@ nice_agent_attach_recv (
ret = TRUE;
if (func && ctx) {
if (func) {
component->g_source_io_cb = func;
component->data = data;
component->ctx = ctx;
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