summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-09 08:51:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:56 -0500
commitde7753141c627539b09d0b19ac4661623b0bd365 (patch)
tree476c7575e9453a6fbbd60134b054aecc4d32ebd9 /source3/smbwrapper
parentd8dfc29c9e4f1f1b7790d49c06f8bb5c301e509b (diff)
downloadsamba-de7753141c627539b09d0b19ac4661623b0bd365.tar.gz
samba-de7753141c627539b09d0b19ac4661623b0bd365.tar.bz2
samba-de7753141c627539b09d0b19ac4661623b0bd365.zip
r15007: fixed usage of cli_list() in smbwrapper so it compiles. This doesn't get smbwrapper really working again, but at least it will help Timur Bakeyev in his question to make it work
(This used to be commit e73ee08c84801f315f556d204007f053fda56dbf)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/smbw_dir.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index 8ba1de4726..a5bf10b29e 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -75,7 +75,7 @@ static struct smbw_dir *cur_dir;
/*****************************************************
add a entry to a directory listing
*******************************************************/
-static void smbw_dir_add(struct file_info *finfo, const char *mask,
+static void smbw_dir_add(const char *mntpnt, struct file_info *finfo, const char *mask,
void *state)
{
struct file_info *cdl;
@@ -113,7 +113,7 @@ static void smbw_share_add(const char *share, uint32 type,
pstrcpy(finfo.name, share);
finfo.mode = aRONLY | aDIR;
- smbw_dir_add(&finfo, NULL, NULL);
+ smbw_dir_add("\\", &finfo, NULL, NULL);
}
@@ -130,7 +130,7 @@ static void smbw_server_add(const char *name, uint32 type,
pstrcpy(finfo.name, name);
finfo.mode = aRONLY | aDIR;
- smbw_dir_add(&finfo, NULL, NULL);
+ smbw_dir_add("\\", &finfo, NULL, NULL);
}
@@ -152,7 +152,7 @@ static void smbw_printjob_add(struct print_job_info *job)
finfo.mode = aRONLY;
finfo.size = job->size;
- smbw_dir_add(&finfo, NULL, NULL);
+ smbw_dir_add("\\", &finfo, NULL, NULL);
}