summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-07 08:46:33 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-07 08:46:33 +0000
commitc78deb1d229bd301be483a256f1fd2047cec6120 (patch)
tree4fcedbd7a30ba771f67748bd1fc5f1e42eff45ab /source/nsswitch
parentccb6e36d65e48ae08585d8905b975e601bdfcb2b (diff)
downloadsamba-c78deb1d229bd301be483a256f1fd2047cec6120.tar.gz
samba-c78deb1d229bd301be483a256f1fd2047cec6120.tar.xz
samba-c78deb1d229bd301be483a256f1fd2047cec6120.zip
remove scope parameter here too
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/wins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/nsswitch/wins.c b/source/nsswitch/wins.c
index 6c291bb1bf7..f8a05a9fbf2 100644
--- a/source/nsswitch/wins.c
+++ b/source/nsswitch/wins.c
@@ -58,13 +58,13 @@ struct in_addr *lookup_backend(const char *name, int *count)
p = lp_wins_server();
if (p && *p) {
- ret = name_query(fd,name,0x20,False,True, *interpret_addr2(p), count,NULL);
+ ret = name_query(fd,name,0x20,False,True, *interpret_addr2(p), count);
goto out;
}
if (lp_wins_support()) {
/* we are our own WINS server */
- ret = name_query(fd,name,0x20,False,True, *interpret_addr2("127.0.0.1"), count,NULL);
+ ret = name_query(fd,name,0x20,False,True, *interpret_addr2("127.0.0.1"), count);
goto out;
}
@@ -73,7 +73,7 @@ struct in_addr *lookup_backend(const char *name, int *count)
j >= 0;
j--) {
struct in_addr *bcast = iface_n_bcast(j);
- ret = name_query(fd,name,0x20,True,True,*bcast,count,NULL);
+ ret = name_query(fd,name,0x20,True,True,*bcast,count);
if (ret) break;
}