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

jra at samba.org jra at samba.org
Thu Jun 23 17:00:37 GMT 2005


Author: jra
Date: 2005-06-23 17:00:36 +0000 (Thu, 23 Jun 2005)
New Revision: 7847

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

Log:
Fix from bugzilla at kevinjamieson.com Kevin Jamieson - typo
in checking for .. in statcache. Bugid #2819.
Jeremy.

Modified:
   trunk/source/smbd/statcache.c


Changeset:
Modified: trunk/source/smbd/statcache.c
===================================================================
--- trunk/source/smbd/statcache.c	2005-06-23 17:00:11 UTC (rev 7846)
+++ trunk/source/smbd/statcache.c	2005-06-23 17:00:36 UTC (rev 7847)
@@ -64,7 +64,7 @@
 
 	if((*full_orig_name == '\0') || (full_orig_name[0] == '.' && 
 				((full_orig_name[1] == '\0') ||
-				 (full_orig_name[1] == '.' && full_orig_name[1] == '\0'))))
+				 (full_orig_name[1] == '.' && full_orig_name[2] == '\0'))))
 		return;
 
 	/*



More information about the samba-cvs mailing list