aboutsummaryrefslogtreecommitdiffstats
path: root/nanohttp.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2000-09-23 10:28:52 +0000
committerDaniel Veillard <veillard@src.gnome.org>2000-09-23 10:28:52 +0000
commit8ddb5a7aef4df31c80a63301fe66f4e5bfc7a1d1 (patch)
treead89f1669325e19cb7734a83661ee2873e55c3cc /nanohttp.c
parentbbe11b0880766136bf8694bf0c8d07ec9f3d5348 (diff)
downloadandroid_external_libxml2-8ddb5a7aef4df31c80a63301fe66f4e5bfc7a1d1.tar.gz
android_external_libxml2-8ddb5a7aef4df31c80a63301fe66f4e5bfc7a1d1.tar.bz2
android_external_libxml2-8ddb5a7aef4df31c80a63301fe66f4e5bfc7a1d1.zip
Small bugfixes: - HTMLparser.c uri.c: Another patch from Wayne Davison,
Small bugfixes: - HTMLparser.c uri.c: Another patch from Wayne Davison, correcting an URI bug and a fix for the control-character-induced infinite loop - nanohttp.c: preventive fix for compiling on WIN32 Daniel
Diffstat (limited to 'nanohttp.c')
-rw-r--r--nanohttp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/nanohttp.c b/nanohttp.c
index 93f312eb..52a6b59d 100644
--- a/nanohttp.c
+++ b/nanohttp.c
@@ -67,13 +67,8 @@
#ifdef STANDALONE
#define DEBUG_HTTP
-#ifdef WIN32
-#define xmlStrncasecmp(a, b, n) strnicmp((char *)a, (char *)b, n)
-#define xmlStrcasecmp(a, b) stricmp((char *)a, (char *)b)
-#else
#define xmlStrncasecmp(a, b, n) strncasecmp((char *)a, (char *)b, n)
-#define xmlStrcasecmp(a, b) strcasecmp((char *)a, (char *)b)
-#endif
+#define xmlStrcasecmpi(a, b) strcasecmp((char *)a, (char *)b)
#endif
#define XML_NANO_HTTP_MAX_REDIR 10