summaryrefslogtreecommitdiff
path: root/ares/windows_port.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-13 18:02:20 +0000
committerYang Tse <yangsita@gmail.com>2007-02-13 18:02:20 +0000
commit0db485a44836903c2854fc8c559e7874e5b9e4f0 (patch)
tree9c166f4c1300ca31049d28dafeb5a03763e99ca1 /ares/windows_port.c
parent6d05a33ed92b76a1166bca069382f5d03302153c (diff)
downloadcurl-0db485a44836903c2854fc8c559e7874e5b9e4f0.tar.gz
use our own ISUPPER and ISLOWER macros
Diffstat (limited to 'ares/windows_port.c')
-rw-r--r--ares/windows_port.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/windows_port.c b/ares/windows_port.c
index 2d842742a..dabe0bccc 100644
--- a/ares/windows_port.c
+++ b/ares/windows_port.c
@@ -41,8 +41,8 @@ ares_strncasecmp(const char *a, const char *b, int n)
int i;
for (i = 0; i < n; i++) {
- int c1 = isupper(a[i]) ? tolower(a[i]) : a[i];
- int c2 = isupper(b[i]) ? tolower(b[i]) : b[i];
+ int c1 = ISUPPER(a[i]) ? tolower(a[i]) : a[i];
+ int c2 = ISUPPER(b[i]) ? tolower(b[i]) : b[i];
if (c1 != c2) return c1-c2;
}
return 0;