Module: sip-router
Branch: 4.1
Commit: 18376e35ebbc1ba82fcce78c4eaa7f7b04e00aa8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18376e3…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Fri Mar 7 23:54:05 2014 +0200
modules/xmlrpc: xmlrpc scalar <int> value can be positive or negative
(cherry picked from commit 67c2101fc60e4a963a6133f7a71f5faf510ca214)
---
modules/xmlrpc/xmlrpc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/xmlrpc/xmlrpc.c b/modules/xmlrpc/xmlrpc.c
index 4fa9b15..5522a8f 100644
--- a/modules/xmlrpc/xmlrpc.c
+++ b/modules/xmlrpc/xmlrpc.c
@@ -993,7 +993,7 @@ static int print_value(struct xmlrpc_reply* res,
case 'd':
prefix = int_prefix;
suffix = int_suffix;
- body.s = int2str(va_arg(*ap, int), &body.len);
+ body.s = sint2str(va_arg(*ap, int), &body.len);
break;
case 'f':