Fixed bug #28597 (xmlrpc_encode_request() incorrectly encodes chars in

200-210 range).
Patch by: fernando dot nemec at folha dot com dot br
This commit is contained in:
Ilia Alshanetsky 2004-06-01 20:16:06 +00:00
parent db9f1fafa5
commit 98a6986d97

View File

@ -44,6 +44,9 @@ static const char rcsid[] = "#(@) $Id$";
* 06/2000
* HISTORY
* $Log$
* Revision 1.5 2003/12/16 21:00:21 sniper
* Fix some compile warnings (patch by Joe Orton)
*
* Revision 1.4 2002/11/26 23:01:16 fmk
* removing unused variables
*
@ -265,10 +268,9 @@ static int create_xml_escape(char *pString, unsigned char c)
pString[counter++] = c / 100 + '0';
c = c % 100;
}
if(c >= 10) {
pString[counter++] = c / 10 + '0';
c = c % 10;
}
pString[counter++] = c / 10 + '0';
c = c % 10;
pString[counter++] = c + '0';
pString[counter++] = ';';
return counter;