summaryrefslogtreecommitdiff
path: root/source3/smbd/statcache.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-16 02:50:21 +0000
committerTim Potter <tpot@samba.org>2003-09-16 02:50:21 +0000
commitc2505ca394942a5717cb434f3a025de72ee0df81 (patch)
treee614d89680f7843208d8de2e11baa8a2e80d837b /source3/smbd/statcache.c
parent3050c0602a67017cd76202c36541cf22ec73486d (diff)
downloadsamba-c2505ca394942a5717cb434f3a025de72ee0df81.tar.gz
samba-c2505ca394942a5717cb434f3a025de72ee0df81.tar.bz2
samba-c2505ca394942a5717cb434f3a025de72ee0df81.zip
Merge from 3.0:
>Fix OOPS when dealing with mangled names reported by several users. >This was my bug when removing a redundant strlen. >Jerry - last showstopper I knew about. >Jeremy. (This used to be commit 3266777acb911f84e70f42f17cd9f6bbd3ba35d0)
Diffstat (limited to 'source3/smbd/statcache.c')
-rw-r--r--source3/smbd/statcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 948173687d..76406f208e 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -119,7 +119,7 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat
if (original_path_length != translated_path_length) {
if (original_path_length < translated_path_length) {
- DEBUG(0, ("OOPS - tried to store stat cache entry for werid length paths [%s] %u and [%s] %u)!\n",
+ DEBUG(0, ("OOPS - tried to store stat cache entry for weird length paths [%s] %u and [%s] %u)!\n",
original_path, original_path_length, translated_path, translated_path_length));
SAFE_FREE(original_path);
SAFE_FREE(translated_path);