diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-12-01 11:23:53 +0100 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-12-01 11:25:31 +0100 |
commit | 9cb13ad1d1f9f615a32393adf821538cbaf8f771 (patch) | |
tree | 7f7eded2fff234b3233a62ad06f3b93980db8478 /test/call.c | |
parent | a3216be076638511532bf0499ca2445ae3a3c074 (diff) |
test: remove asserts for ua/call
Diffstat (limited to 'test/call.c')
-rw-r--r-- | test/call.c | 14 |
1 files 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: |