summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2000-03-16 17:58:08 +0000
committerHerb Lewis <herb@samba.org>2000-03-16 17:58:08 +0000
commita36d737c88b002787014b04788460ca65b4dcbe5 (patch)
treeed22d04ba26123dba5539f47a47a762a89701e1c
parent4d439771302ec46225f31e8fa26f62ec30df6d1d (diff)
downloadsamba-a36d737c88b002787014b04788460ca65b4dcbe5.tar.gz
samba-a36d737c88b002787014b04788460ca65b4dcbe5.tar.bz2
samba-a36d737c88b002787014b04788460ca65b4dcbe5.zip
removed extra arguements from make_nmb_name calls
(This used to be commit d97f5d57d07b03c1df69099625b9d3faabe3f605)
-rw-r--r--source3/smbwrapper/smbw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 4c246e1e40..3a63df7dec 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -431,8 +431,8 @@ struct smbw_server *smbw_server(char *server, char *share)
return NULL;
}
- make_nmb_name(&calling, global_myname, 0x0, "");
- make_nmb_name(&called , server, 0x20, "");
+ make_nmb_name(&calling, global_myname, 0x0);
+ make_nmb_name(&called , server, 0x20);
DEBUG(4,("server_n=[%s] server=[%s]\n", server_n, server));
@@ -476,7 +476,7 @@ struct smbw_server *smbw_server(char *server, char *share)
if (!cli_session_request(&c, &calling, &called)) {
cli_shutdown(&c);
if (strcmp(called.name, "*SMBSERVER")) {
- make_nmb_name(&called , "*SMBSERVER", 0x20, "");
+ make_nmb_name(&called , "*SMBSERVER", 0x20);
goto again;
}
errno = ENOENT;