Commit 3b581c03 authored by Olivier Crête's avatar Olivier Crête 👻
Browse files

agent: returning 0 valid messages is valid, it means EOF

parent ca3921be
......@@ -3213,7 +3213,6 @@ nice_agent_recv_messages_blocking_or_nonblocking (NiceAgent *agent,
done:
g_assert ((child_error != NULL) == (n_valid_messages == -1));
g_assert (n_valid_messages != 0);
g_assert (n_valid_messages < 0 || (guint) n_valid_messages <= n_messages);
if (child_error != NULL)
......
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