micro fix :-)
authorSimo Sorce <idra@samba.org>
Fri, 25 Jan 2002 09:55:29 +0000 (09:55 +0000)
committerSimo Sorce <idra@samba.org>
Fri, 25 Jan 2002 09:55:29 +0000 (09:55 +0000)
(This used to be commit 8929f07a15e7c6f6dbc72b1c50b45eb4c321d516)

source3/smbd/mangle.c

index a6f63371c3a3a7476bf357546d19e85124fd3535..ab8726797a4a78368bdc2c7e2d1eaae98538142e 100644 (file)
@@ -544,6 +544,7 @@ BOOL is_8_3(const char *fname, BOOL check_case)
 
        if (!fname || !*fname) return False;
        if ((f = strrchr(fname, '/')) == NULL) f = fname;
+       else f++;
 
        DEBUG(10,("is_8_3: testing [%s]\n", f));