summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-01-15 17:46:02 +0000
committerTim Potter <tpot@samba.org>2001-01-15 17:46:02 +0000
commitd7920a670b7706fc1d794edcfe6baacc5bb26403 (patch)
tree922292d11444bdec0a1145b617796632e53c99a6
parent30fb31a3ab05ab6bb6c89cb457e2216e34b963e6 (diff)
downloadsamba-d7920a670b7706fc1d794edcfe6baacc5bb26403.tar.gz
samba-d7920a670b7706fc1d794edcfe6baacc5bb26403.tar.xz
samba-d7920a670b7706fc1d794edcfe6baacc5bb26403.zip
Compile fix for smbw_dir_add function.
-rw-r--r--source/smbwrapper/smbw_dir.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/smbwrapper/smbw_dir.c b/source/smbwrapper/smbw_dir.c
index 89d137473f3..d94ea6ec87c 100644
--- a/source/smbwrapper/smbw_dir.c
+++ b/source/smbwrapper/smbw_dir.c
@@ -78,7 +78,8 @@ 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, void * NULL)
+static void smbw_dir_add(struct file_info *finfo, const char *mask,
+ void *state)
{
DEBUG(5,("%s\n", finfo->name));
@@ -112,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);
+ smbw_dir_add(&finfo, NULL, NULL);
}
@@ -129,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);
+ smbw_dir_add(&finfo, NULL, NULL);
}
@@ -151,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);
+ smbw_dir_add(&finfo, NULL, NULL);
}