1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

small fix fixed an error message Daniel

* encoding.c: small fix
* xmlIO.c: fixed an error message
Daniel
This commit is contained in:
Daniel Veillard
2003-06-02 13:35:24 +00:00
parent 0e0f37a35c
commit 8caa9c2c97
3 changed files with 7 additions and 2 deletions

View File

@ -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;
}