You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2006/07/04 14:05:41 UTC
svn commit: r418991 -
/xerces/c/trunk/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp
Author: amassari
Date: Tue Jul 4 05:05:41 2006
New Revision: 418991
URL: http://svn.apache.org/viewvc?rev=418991&view=rev
Log:
Wrong #ifdef branch...
Modified:
xerces/c/trunk/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp
Modified: xerces/c/trunk/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp
URL: http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp?rev=418991&r1=418990&r2=418991&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/Transcoders/Iconv/IconvTransService.cpp Tue Jul 4 05:05:41 2006
@@ -244,9 +244,9 @@
for ( ; *src; ++len)
{
#if HAVE_MBRLEN
- int l=::mblen( src, MB_CUR_MAX );
-#else
int l=::mbrlen( src, MB_CUR_MAX, &st );
+#else
+ int l=::mblen( src, MB_CUR_MAX );
#endif
if( l == TRANSCODING_ERROR )
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org