Commit 790b09d3 authored by Olivier Crête's avatar Olivier Crête

Exit with error when the timeout is reached

parent 95457b20
......@@ -76,9 +76,7 @@ static gboolean timer_cb (gpointer pointer)
/* signal status via a global variable */
/* note: should not be reached, abort */
g_debug ("ERROR: test has got stuck, aborting...");
exit (-1);
g_error ("ERROR: test has got stuck, aborting...");
}
static void cb_nice_recv (NiceAgent *agent, guint stream_id, guint component_id, guint len, gchar *buf, gpointer user_data)
......
......@@ -74,9 +74,7 @@ static gboolean timer_cb (gpointer pointer)
/* signal status via a global variable */
/* note: should not be reached, abort */
g_debug ("ERROR: test has got stuck, aborting...");
exit (-1);
g_error ("ERROR: test has got stuck, aborting...");
}
static void cb_nice_recv (NiceAgent *agent, guint stream_id, guint component_id, guint len, gchar *buf, gpointer user_data)
......
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