summaryrefslogtreecommitdiff
path: root/test/sip
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-06-05 15:01:53 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-06-05 15:01:53 +0200
commit439c2f9cb452c20155d7080930e79bee978b9983 (patch)
tree37aa9bfadcb196588ceb36f983c64c5bff166d37 /test/sip
parent8dee67182685e7d738f4752fc60b754fd96fa35a (diff)
ua: added ua exit handler
Diffstat (limited to 'test/sip')
-rw-r--r--test/sip/sipsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sip/sipsrv.c b/test/sip/sipsrv.c
index 76b4b6f..ce1d562 100644
--- a/test/sip/sipsrv.c
+++ b/test/sip/sipsrv.c
@@ -216,7 +216,7 @@ static bool sip_msg_handler(const struct sip_msg *msg, void *arg)
out:
if (srv->terminate)
- re_cancel();
+ re_cancel(); /* XXX: avoid this */
return true;
}