Module: sip-router
Branch: master
Commit: 0636b8a70109ee44b46ec0cc76d4513c87c18e3f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0636b8a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Jan 25 17:29:46 2013 +0100
sl: use forward_reply_nocb() for sl_forward_reply()
- otherwise it gets to looping if the function is used from TM onreply
routes
---
modules/sl/sl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/sl/sl.c b/modules/sl/sl.c
index 925d98e..87449fd 100644
--- a/modules/sl/sl.c
+++ b/modules/sl/sl.c
@@ -449,7 +449,7 @@ restore:
msg->first_line.u.reply.status.s[1] = oldscode[1];
msg->first_line.u.reply.status.s[2] = oldscode[2];
}
- return ret;
+ return (ret==0)?1:ret;
}
/**