[sr-dev] git:master: modules/xmlrpc: xmlrpc scalar <int> value can be positive or negative
Juha Heinanen
jh at tutpro.com
Fri Mar 7 22:56:20 CET 2014
Module: sip-router
Branch: master
Commit: 67c2101fc60e4a963a6133f7a71f5faf510ca214
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=67c2101fc60e4a963a6133f7a71f5faf510ca214
Author: Juha Heinanen <jh at tutpro.com>
Committer: Juha Heinanen <jh at tutpro.com>
Date: Fri Mar 7 23:54:05 2014 +0200
modules/xmlrpc: xmlrpc scalar <int> value can be positive or negative
---
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':
More information about the sr-dev
mailing list