summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-01-05 13:11:29 +0000
committerRichard Sharpe <sharpe@samba.org>2001-01-05 13:11:29 +0000
commitdca808cbc4b52e38701f814f7aac043ddd1ca1c1 (patch)
treee46027ede552d316c37c0a615915bb8553002526 /source3/smbwrapper
parente70b103fff25f5bf4244a6ba2aed9593c99f749d (diff)
downloadsamba-dca808cbc4b52e38701f814f7aac043ddd1ca1c1.tar.gz
samba-dca808cbc4b52e38701f814f7aac043ddd1ca1c1.tar.bz2
samba-dca808cbc4b52e38701f814f7aac043ddd1ca1c1.zip
Needed a callback arg on cli_list ...
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/smbw_dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index 49355ddf9c..89d137473f 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -78,7 +78,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(struct file_info *finfo, const char *mask, void * NULL)
{
DEBUG(5,("%s\n", finfo->name));
@@ -238,7 +238,7 @@ int smbw_dir_open(const char *fname)
}
#endif
if (cli_list(&srv->cli, mask, aHIDDEN|aSYSTEM|aDIR,
- smbw_dir_add) < 0) {
+ smbw_dir_add, NULL) < 0) {
errno = smbw_errno(&srv->cli);
goto failed;
}