summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-01-08 22:53:37 +0000
committerJelmer Vernooij <jelmer@samba.org>2004-01-08 22:53:37 +0000
commit75117a357af0480ef07b703a975d3f12ff4a0887 (patch)
tree420434d22d6a910b28f94c7c87a935db96087e1d
parent6c39789e6f1e7003713e6371fc1d1fd610538b2d (diff)
downloadsamba-75117a357af0480ef07b703a975d3f12ff4a0887.tar.gz
samba-75117a357af0480ef07b703a975d3f12ff4a0887.tar.bz2
samba-75117a357af0480ef07b703a975d3f12ff4a0887.zip
Use StrCaseCmp, not strcasecmp. Should fix winbind build on IRIX
(This used to be commit 65b01f67d5725bc54e6bc19b6e84beef38e372f8)
-rw-r--r--source3/nsswitch/wins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/wins.c b/source3/nsswitch/wins.c
index 779d1b2c6c..100a103924 100644
--- a/source3/nsswitch/wins.c
+++ b/source3/nsswitch/wins.c
@@ -194,7 +194,7 @@ int lookup(nsd_file_t *rq)
* response needs to be a string of the following format
* ip_address[ ip_address]*\tname[ alias]*
*/
- if (strcasecmp(map,"hosts.byaddr") == 0) {
+ if (StrCaseCmp(map,"hosts.byaddr") == 0) {
if ( status = lookup_byaddr_backend(key, &count)) {
size = strlen(key) + 1;
if (size > len) {
@@ -222,7 +222,7 @@ int lookup(nsd_file_t *rq)
response[strlen(response)-1] = '\n';
free(status);
}
- } else if (strcasecmp(map,"hosts.byname") == 0) {
+ } else if (StrCaseCmp(map,"hosts.byname") == 0) {
if (ip_list = lookup_byname_backend(key, &count)) {
for (i = count; i ; i--) {
addr = inet_ntoa(ip_list[i-1]);