summaryrefslogtreecommitdiff
path: root/encoding.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-02-10 15:43:53 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-02-10 15:43:53 +0000
commit809faa5237ef2c1d05600e2e25f71f251cf98530 (patch)
treea2401b776308b29b55a89df91f06d25a11d985dd /encoding.c
parent1703c5fc238e76532f654747259a20a29c769942 (diff)
downloadlibxml2-809faa5237ef2c1d05600e2e25f71f251cf98530.tar.gz
fixing bug #104646 about iconv based encoding conversion when the input
* encoding.c xmlIO.c: fixing bug #104646 about iconv based encoding conversion when the input buffer stops in the middle of a multibyte char Daniel
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/encoding.c b/encoding.c
index c2d0b2db..3ac35fd3 100644
--- a/encoding.c
+++ b/encoding.c
@@ -2283,8 +2283,10 @@ retry:
#endif
break;
case -3:
+#ifdef DEBUG_ENCODING
xmlGenericError(xmlGenericErrorContext,"converted %d bytes to %d bytes of output %d left\n",
toconv, written, in->use);
+#endif
break;
case -2: {
int len = in->use;