summaryrefslogtreecommitdiff
path: root/source3/utils/nmblookup.c
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>2001-08-29 04:26:27 +0000
committerChristopher R. Hertel <crh@samba.org>2001-08-29 04:26:27 +0000
commit6c38114f57bebec95ce8252e675e8699f683ff5e (patch)
tree48eba69c1153435b2080e9966e5df70299f93f9b /source3/utils/nmblookup.c
parent60519d046bea5d56f73c2a2f18c5146d233c0fad (diff)
downloadsamba-6c38114f57bebec95ce8252e675e8699f683ff5e.tar.gz
samba-6c38114f57bebec95ce8252e675e8699f683ff5e.tar.bz2
samba-6c38114f57bebec95ce8252e675e8699f683ff5e.zip
Fuss, fuss, fuss...
Function name_status_query() performs a node status query, so it really should be called "node_status_query()" just to be consistent. Yeah, minor... but it's looking as though an overhaul of namequery.c is in order and I am trying to do the tiny changes that impact other stuff first. Chris -)----- (This used to be commit 3af2de7ed26e5a26a273be2dcd9c5565c586fe47)
Diffstat (limited to 'source3/utils/nmblookup.c')
-rw-r--r--source3/utils/nmblookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 3e2f0610e6..5acdf62735 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -113,7 +113,7 @@ static void do_node_status(int fd, char *name, int type, struct in_addr ip)
printf("Looking up status of %s\n",inet_ntoa(ip));
make_nmb_name(&nname, name, type);
- status = name_status_query(fd,&nname,ip, &count);
+ status = node_status_query(fd,&nname,ip, &count);
if (status) {
for (i=0;i<count;i++) {
fstrcpy(cleanname, status[i].name);