[libxml2] Fix non __GNUC__ build



commit fd4f6fddf5020f2f7a8ea4459a9b2feef7494fe4
Author: Patrick Gansterer <paroga paroga com>
Date:   Mon Aug 13 17:54:20 2012 +0800

    Fix non __GNUC__ build
    
    For https://bugzilla.gnome.org/show_bug.cgi?id=681590
    Length member of _xmlDictEntry is called "len" and not "l"

 dict.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dict.c b/dict.c
index 48482a5..9935a25 100644
--- a/dict.c
+++ b/dict.c
@@ -843,7 +843,7 @@ xmlDictLookup(xmlDictPtr dict, const xmlChar *name, int len) {
 		    return(insert->name);
 	    }
 #else
-	    if ((insert->okey == okey) && (insert->l == l) &&
+	    if ((insert->okey == okey) && (insert->len == l) &&
 	        (!xmlStrncmp(insert->name, name, l)))
 		return(insert->name);
 #endif



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