summaryrefslogtreecommitdiff
path: root/source3
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
commit1dac1ec030d8fb67f065979cc5a5a88a0c5d8038 (patch)
tree59e05cf307c90d665f5ff2a56f9297a1bcd0500c /source3
parentd759a5fc0db3e7d38fd6565a4b9ac1357e286f04 (diff)
downloadsamba-1dac1ec030d8fb67f065979cc5a5a88a0c5d8038.tar.gz
samba-1dac1ec030d8fb67f065979cc5a5a88a0c5d8038.tar.bz2
samba-1dac1ec030d8fb67f065979cc5a5a88a0c5d8038.zip
remove scope parameter here too
(This used to be commit c78deb1d229bd301be483a256f1fd2047cec6120)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/wins.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/wins.c b/source3/nsswitch/wins.c
index 6c291bb1bf..f8a05a9fbf 100644
--- a/source3/nsswitch/wins.c
+++ b/source3/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;
}