summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-02-09 14:17:12 +0000
committerAndrew Tridgell <tridge@samba.org>2000-02-09 14:17:12 +0000
commit94d68eb8083926738506234163d210e3297b0cac (patch)
treef90f31983f3ce01872cac01c339e8c3fb65c31ac
parent74f0d16da40054e2341674ed8b9a6027b0bf5f1b (diff)
downloadsamba-94d68eb8083926738506234163d210e3297b0cac.tar.gz
samba-94d68eb8083926738506234163d210e3297b0cac.tar.bz2
samba-94d68eb8083926738506234163d210e3297b0cac.zip
update masktest for new make_nmb_name() syntax
(This used to be commit 3609e835d4f938190f43b958403978c892b4bc9b)
-rw-r--r--source3/utils/masktest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/masktest.c b/source3/utils/masktest.c
index b4d919fe7c..380a4d7c71 100644
--- a/source3/utils/masktest.c
+++ b/source3/utils/masktest.c
@@ -120,8 +120,8 @@ struct cli_state *connect_one(char *share)
ip = ipzero;
- make_nmb_name(&calling, "masktest", 0x0, "");
- make_nmb_name(&called , server, 0x20, "");
+ make_nmb_name(&calling, "masktest", 0x0);
+ make_nmb_name(&called , server, 0x20);
again:
ip = ipzero;
@@ -137,7 +137,7 @@ struct cli_state *connect_one(char *share)
DEBUG(0,("session request to %s failed\n", called.name));
cli_shutdown(c);
if (strcmp(called.name, "*SMBSERVER")) {
- make_nmb_name(&called , "*SMBSERVER", 0x20, "");
+ make_nmb_name(&called , "*SMBSERVER", 0x20);
goto again;
}
return NULL;