apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r638037 - /apr/apr-iconv/branches/0.9.x/lib/iconv_uc.c
Date Mon, 17 Mar 2008 19:23:15 GMT
Author: wrowe
Date: Mon Mar 17 12:23:12 2008
New Revision: 638037

URL: http://svn.apache.org/viewvc?rev=638037&view=rev
Log:
Resolve ambiguous/nonsense post-increment.

Reported by: Sebastian Gottschalk <seppi seppig.de>
Backports: 638036

Modified:
    apr/apr-iconv/branches/0.9.x/lib/iconv_uc.c

Modified: apr/apr-iconv/branches/0.9.x/lib/iconv_uc.c
URL: http://svn.apache.org/viewvc/apr/apr-iconv/branches/0.9.x/lib/iconv_uc.c?rev=638037&r1=638036&r2=638037&view=diff
==============================================================================
--- apr/apr-iconv/branches/0.9.x/lib/iconv_uc.c (original)
+++ apr/apr-iconv/branches/0.9.x/lib/iconv_uc.c Mon Mar 17 12:23:12 2008
@@ -111,7 +111,7 @@
 			size = ICONV_CES_CONVERT_FROM_UCS(ic->to, ic->missing,
 			    outbuf, outbytesleft);
 			if (size)
-				*res ++;
+				(*res)++;
 		}
 		if (!size) {		 /* No space to write to */
 			*inbytesleft += *inbuf - ptr;



Mime
View raw message