diff options
author | Tim Potter <tpot@samba.org> | 2001-01-05 00:17:36 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-01-05 00:17:36 +0000 |
commit | e70b103fff25f5bf4244a6ba2aed9593c99f749d (patch) | |
tree | b7274cb07fe6d308d76e7101f9ac2d8a8956436b | |
parent | 23807f2b308e80a1e325c8fd2bddeec3e2e15bc5 (diff) | |
download | samba-e70b103fff25f5bf4244a6ba2aed9593c99f749d.tar.gz samba-e70b103fff25f5bf4244a6ba2aed9593c99f749d.tar.bz2 samba-e70b103fff25f5bf4244a6ba2aed9593c99f749d.zip |
Added extra argument to calls to smbw_share_add()
(This used to be commit d006e6adca0548dad334d871c5d440b1d32ac879)
-rw-r--r-- | source3/smbwrapper/smbw_dir.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c index a30f3dde75..49355ddf9c 100644 --- a/source3/smbwrapper/smbw_dir.c +++ b/source3/smbwrapper/smbw_dir.c @@ -202,30 +202,30 @@ int smbw_dir_open(const char *fname) if ((p=strstr(srv->server_name,"#01"))) { *p = 0; - smbw_server_add(".",0,""); - smbw_server_add("..",0,""); + smbw_server_add(".",0,"", NULL); + smbw_server_add("..",0,"", NULL); cli_NetServerEnum(&srv->cli, srv->server_name, SV_TYPE_DOMAIN_ENUM, smbw_server_add, NULL); *p = '#'; } else if ((p=strstr(srv->server_name,"#1D"))) { DEBUG(4,("doing NetServerEnum\n")); *p = 0; - smbw_server_add(".",0,""); - smbw_server_add("..",0,""); + smbw_server_add(".",0,"", NULL); + smbw_server_add("..",0,"", NULL); cli_NetServerEnum(&srv->cli, srv->server_name, SV_TYPE_ALL, smbw_server_add, NULL); *p = '#'; } else if (strcmp(srv->cli.dev,"IPC") == 0) { DEBUG(4,("doing NetShareEnum\n")); - smbw_share_add(".",0,""); - smbw_share_add("..",0,""); + smbw_share_add(".",0,"", NULL); + smbw_share_add("..",0,"", NULL); if (cli_RNetShareEnum(&srv->cli, smbw_share_add, NULL) < 0) { errno = smbw_errno(&srv->cli); goto failed; } } else if (strncmp(srv->cli.dev,"LPT",3) == 0) { - smbw_share_add(".",0,""); - smbw_share_add("..",0,""); + smbw_share_add(".",0,"", NULL); + smbw_share_add("..",0,"", NULL); if (cli_print_queue(&srv->cli, smbw_printjob_add) < 0) { errno = smbw_errno(&srv->cli); goto failed; |