From: <jpg...@us...> - 2007-12-19 15:27:27
|
Revision: 1312 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1312&view=rev Author: jpgrayson Date: 2007-12-19 07:27:29 -0800 (Wed, 19 Dec 2007) Log Message: ----------- Apply patch from Lee Howard to clarify/fix a bit of md5pass code. Modified Paths: -------------- trunk/lib/libiax2/src/iax.c Modified: trunk/lib/libiax2/src/iax.c =================================================================== --- trunk/lib/libiax2/src/iax.c 2007-12-19 15:25:09 UTC (rev 1311) +++ trunk/lib/libiax2/src/iax.c 2007-12-19 15:27:29 UTC (rev 1312) @@ -1015,7 +1015,7 @@ { int x; for (x=0;x<16;x++) - out += sprintf(out, "%2.2x", (int)in[x]); + sprintf(out + (x << 1), "%2.2x", (int)in[x]); } static unsigned char compress_subclass(int subclass) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |