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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user