summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/mangle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index a6f63371c3..ab8726797a 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -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));