[libxml2] 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK
- From: Daniel Veillard <veillard src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libxml2] 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK
- Date: Mon, 24 Aug 2009 12:09:32 +0000 (UTC)
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]