Merge from 3.0:
authorTim Potter <tpot@samba.org>
Tue, 16 Sep 2003 02:50:21 +0000 (02:50 +0000)
committerTim Potter <tpot@samba.org>
Tue, 16 Sep 2003 02:50:21 +0000 (02:50 +0000)
>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)

source3/smbd/statcache.c

index 948173687d9ebcb9516a738ab1a4210bb04ea164..76406f208e52209411bea901fd1ba91712c6bb0d 100644 (file)
@@ -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);