Module: sip-router
Branch: kamailio_3.0
Commit: 9600b1be5136f72d567a6b579abeb96cb5928fc7
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9600b1b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Jan 24 21:20:02 2010 +0100
uac(k): proper test for send failure
(cherry picked from commit 1479cd808ea8e5025bfa8400a257e3f89db4ab68)
---
modules_k/uac/uac_send.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/uac/uac_send.c b/modules_k/uac/uac_send.c
index 9a1f2b9..b77317d 100644
--- a/modules_k/uac/uac_send.c
+++ b/modules_k/uac/uac_send.c
@@ -398,7 +398,7 @@ int uac_req_send(struct sip_msg *msg, char *s1, char *s2)
(_uac_req.s_ouri.len<=0)?NULL:&_uac_req.s_ouri /* outbound uri */
);
- if(ret!=0)
+ if(ret<0)
return -1;
return 1;
}