summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-12-01 11:23:53 +0100
committerAlfred E. Heggestad <aeh@db.org>2015-12-01 11:25:31 +0100
commit9cb13ad1d1f9f615a32393adf821538cbaf8f771 (patch)
tree7f7eded2fff234b3233a62ad06f3b93980db8478 /test
parenta3216be076638511532bf0499ca2445ae3a3c074 (diff)
test: remove asserts for ua/call
Diffstat (limited to 'test')
-rw-r--r--test/call.c14
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: