summaryrefslogtreecommitdiff
path: root/test/sip/sipsrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sip/sipsrv.c')
-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;
}