svn commit: samba r7207 - in trunk/source/smbd: .

jerry at samba.org jerry at samba.org
Fri Jun 3 05:26:20 GMT 2005


Author: jerry
Date: 2005-06-03 05:26:19 +0000 (Fri, 03 Jun 2005)
New Revision: 7207

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7207

Log:
fix compile break
Modified:
   trunk/source/smbd/dir.c


Changeset:
Modified: trunk/source/smbd/dir.c
===================================================================
--- trunk/source/smbd/dir.c	2005-06-03 04:21:25 UTC (rev 7206)
+++ trunk/source/smbd/dir.c	2005-06-03 05:26:19 UTC (rev 7207)
@@ -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. */



More information about the samba-cvs mailing list