svn commit: samba r7210 - in branches/SAMBA_3_0/source/smbd: .
jra at samba.org
jra at samba.org
Fri Jun 3 05:35:05 GMT 2005
Author: jra
Date: 2005-06-03 05:35:04 +0000 (Fri, 03 Jun 2005)
New Revision: 7210
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7210
Log:
Fix my own mistakes up, sorry.
Jeremy.
Modified:
branches/SAMBA_3_0/source/smbd/dir.c
branches/SAMBA_3_0/source/smbd/filename.c
branches/SAMBA_3_0/source/smbd/service.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/dir.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/dir.c 2005-06-03 05:32:46 UTC (rev 7209)
+++ branches/SAMBA_3_0/source/smbd/dir.c 2005-06-03 05:35:04 UTC (rev 7210)
@@ -560,7 +560,7 @@
{
pstring pathreal;
- SET_STAT_INVALID(pst);
+ SET_STAT_INVALID(*pst);
if (dptr->has_wild) {
return dptr_normal_ReadDirName(dptr, poffset, pst);
@@ -629,7 +629,7 @@
BOOL dptr_SearchDir(struct dptr_struct *dptr, const char *name, long *poffset, SMB_STRUCT_STAT *pst)
{
- SET_STAT_INVALID(pst);
+ SET_STAT_INVALID(*pst);
if (!dptr->has_wild && (dptr->dir_hnd->offset == -1)) {
/* This is a singleton directory and we're already at the end. */
@@ -958,7 +958,7 @@
BOOL hide_unwriteable = lp_hideunwriteable_files(SNUM(conn));
BOOL hide_special = lp_hide_special_files(SNUM(conn));
- SET_STAT_INVALID(pst);
+ SET_STAT_INVALID(*pst);
if ((strcmp(".",name) == 0) || (strcmp("..",name) == 0)) {
return True; /* . and .. are always visible. */
Modified: branches/SAMBA_3_0/source/smbd/filename.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/filename.c 2005-06-03 05:32:46 UTC (rev 7209)
+++ branches/SAMBA_3_0/source/smbd/filename.c 2005-06-03 05:35:04 UTC (rev 7210)
@@ -92,7 +92,7 @@
BOOL component_was_mangled = False;
BOOL name_has_wildcard = False;
- SET_STAT_INVALID(pst);
+ SET_STAT_INVALID(*pst);
*dirpath = 0;
*bad_path = False;
Modified: branches/SAMBA_3_0/source/smbd/service.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/service.c 2005-06-03 05:32:46 UTC (rev 7209)
+++ branches/SAMBA_3_0/source/smbd/service.c 2005-06-03 05:35:04 UTC (rev 7210)
@@ -275,7 +275,7 @@
*user = 0;
fstrcpy(dev, pdev);
- SET_STAT_INVALD(st);
+ SET_STAT_INVALID(st);
if (NT_STATUS_IS_ERR(*status = share_sanity_checks(snum, dev))) {
return NULL;
More information about the samba-cvs
mailing list