[libxml2] 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK



commit 0d5e58f3638958bb2a3248977212d7d1ca6484bb
Author: Daniel Veillard <veillard redhat com>
Date:   Mon Aug 24 13:52:23 2009 +0200

    542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK
    
    * xmlIO.c: trivial fix, wrong constant

 xmlIO.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xmlIO.c b/xmlIO.c
index e4e86f0..c03ac43 100644
--- a/xmlIO.c
+++ b/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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]