From 3b581c032705b3e20fe6b7804a9db2e486c4b801 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 21 Feb 2014 14:34:28 -0500 Subject: [PATCH] agent: returning 0 valid messages is valid, it means EOF --- agent/agent.c | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/agent.c b/agent/agent.c index fbdefdb..96772cb 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -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) -- 2.7.4