diff options
author | Jeremy Allison <jra@samba.org> | 2005-06-23 17:00:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:57:59 -0500 |
commit | 81ee9412854fe57124144a1337f2e6680d1afd80 (patch) | |
tree | c2a5ac86942916fcb8b408a94ebda9ea9e87f2ef | |
parent | 7e509e9b99a18495bde01a990e37de70bae35aac (diff) | |
download | samba-81ee9412854fe57124144a1337f2e6680d1afd80.tar.gz samba-81ee9412854fe57124144a1337f2e6680d1afd80.tar.bz2 samba-81ee9412854fe57124144a1337f2e6680d1afd80.zip |
r7846: Fix from bugzilla@kevinjamieson.com Kevin Jamieson - typo
in checking for .. in statcache. Bugid #2819.
Jeremy.
(This used to be commit a5619d717954ad2a3ffaa549b11bfa738720e325)
-rw-r--r-- | source3/smbd/statcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; /* |