svn commit: samba r15007 - in branches/SAMBA_3_0/source/smbwrapper:
.
tridge at samba.org
tridge at samba.org
Sun Apr 9 08:51:36 GMT 2006
Author: tridge
Date: 2006-04-09 08:51:35 +0000 (Sun, 09 Apr 2006)
New Revision: 15007
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15007
Log:
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
Modified:
branches/SAMBA_3_0/source/smbwrapper/smbw_dir.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbwrapper/smbw_dir.c
===================================================================
--- branches/SAMBA_3_0/source/smbwrapper/smbw_dir.c 2006-04-09 08:00:34 UTC (rev 15006)
+++ branches/SAMBA_3_0/source/smbwrapper/smbw_dir.c 2006-04-09 08:51:35 UTC (rev 15007)
@@ -75,7 +75,7 @@
/*****************************************************
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 @@
pstrcpy(finfo.name, share);
finfo.mode = aRONLY | aDIR;
- smbw_dir_add(&finfo, NULL, NULL);
+ smbw_dir_add("\\", &finfo, NULL, NULL);
}
@@ -130,7 +130,7 @@
pstrcpy(finfo.name, name);
finfo.mode = aRONLY | aDIR;
- smbw_dir_add(&finfo, NULL, NULL);
+ smbw_dir_add("\\", &finfo, NULL, NULL);
}
@@ -152,7 +152,7 @@
finfo.mode = aRONLY;
finfo.size = job->size;
- smbw_dir_add(&finfo, NULL, NULL);
+ smbw_dir_add("\\", &finfo, NULL, NULL);
}
More information about the samba-cvs
mailing list