mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-21 22:50:08 +03:00
542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK
* xmlIO.c: trivial fix, wrong constant
This commit is contained in:
parent
029a04d265
commit
0d5e58f363
2
xmlIO.c
2
xmlIO.c
@ -2149,7 +2149,7 @@ int
|
||||
xmlRegisterOutputCallbacks(xmlOutputMatchCallback matchFunc,
|
||||
xmlOutputOpenCallback openFunc, xmlOutputWriteCallback writeFunc,
|
||||
xmlOutputCloseCallback closeFunc) {
|
||||
if (xmlOutputCallbackNr >= MAX_INPUT_CALLBACK) {
|
||||
if (xmlOutputCallbackNr >= MAX_OUTPUT_CALLBACK) {
|
||||
return(-1);
|
||||
}
|
||||
xmlOutputCallbackTable[xmlOutputCallbackNr].matchcallback = matchFunc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user