Browse Source

modules/xmlrpc: xmlrpc scalar <int> value can be positive or negative

Juha Heinanen 11 years ago
parent
commit
67c2101fc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/xmlrpc/xmlrpc.c

+ 1 - 1
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':