aboutsummaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-06-02 13:35:24 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-06-02 13:35:24 +0000
commit8caa9c2c9788c7d9d6fd6d87e4be64b32b22c68a (patch)
tree6d99b853bc1c49985b98b1a3cf250497d56cd413 /encoding.c
parent0e0f37a35c06ca0785e3909c373f9da75f5e9d72 (diff)
downloadandroid_external_libxml2-8caa9c2c9788c7d9d6fd6d87e4be64b32b22c68a.tar.gz
android_external_libxml2-8caa9c2c9788c7d9d6fd6d87e4be64b32b22c68a.tar.bz2
android_external_libxml2-8caa9c2c9788c7d9d6fd6d87e4be64b32b22c68a.zip
small fix fixed an error message Daniel
* encoding.c: small fix * xmlIO.c: fixed an error message Daniel
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding.c b/encoding.c
index de69abfd..8d43f45d 100644
--- a/encoding.c
+++ b/encoding.c
@@ -2205,7 +2205,7 @@ retry:
if (handler->output != NULL) {
ret = handler->output(&out->content[out->use], &written,
NULL, &toconv);
- if (ret == 0) { /* Gennady: check return value */
+ if (ret >= 0) { /* Gennady: check return value */
out->use += written;
out->content[out->use] = 0;
}