From 9cb13ad1d1f9f615a32393adf821538cbaf8f771 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Tue, 1 Dec 2015 11:23:53 +0100 Subject: test: remove asserts for ua/call --- test/call.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/test/call.c b/test/call.c index d1b3ed1..dfb39dd 100644 --- a/test/call.c +++ b/test/call.c @@ -87,8 +87,11 @@ static void event_handler(struct ua *ua, enum ua_event ev, int err = 0; (void)prm; - ASSERT_TRUE(ua != NULL); - ASSERT_TRUE(call != NULL); +#if 0 + re_printf("[ %s ] event: %s (%s)\n", + ua_aor(ua), uag_event_str(ev), prm); +#endif + ASSERT_TRUE(f != NULL); ASSERT_EQ(MAGIC, f->magic); @@ -97,15 +100,10 @@ static void event_handler(struct ua *ua, enum ua_event ev, else if (ua == f->b.ua) ag = &f->b; else { - warning("ua not found\n"); + warning("ua %p not found\n", ua); return; } -#if 0 - re_printf("[ %s ] event: %s (%s)\n", - ua_aor(ua), uag_event_str(ev), prm); -#endif - switch (ev) { case UA_EVENT_CALL_INCOMING: -- cgit v1.2.3