From 81ee9412854fe57124144a1337f2e6680d1afd80 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 23 Jun 2005 17:00:11 +0000 Subject: r7846: Fix from bugzilla@kevinjamieson.com Kevin Jamieson - typo in checking for .. in statcache. Bugid #2819. Jeremy. (This used to be commit a5619d717954ad2a3ffaa549b11bfa738720e325) --- source3/smbd/statcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c index 8e22d9687b..97ecd4152c 100644 --- a/source3/smbd/statcache.c +++ b/source3/smbd/statcache.c @@ -64,7 +64,7 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat 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; /* -- cgit