diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-05-04 10:44:49 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-05-04 10:44:49 +0000 |
commit | 45e2ffdc9c4334565e51c550b3a19a9bbb7037ef (patch) | |
tree | ee5dfe5d9ba8641fa06846eea71070b6046c5c72 /source/smbd/mangle.c | |
parent | 79c65e66f8034d21b6c90fcdbd76601657f3c447 (diff) | |
download | samba-45e2ffdc9c4334565e51c550b3a19a9bbb7037ef.tar.gz samba-45e2ffdc9c4334565e51c550b3a19a9bbb7037ef.tar.xz samba-45e2ffdc9c4334565e51c550b3a19a9bbb7037ef.zip |
move the dot_pos calculation down a bit
Diffstat (limited to 'source/smbd/mangle.c')
-rw-r--r-- | source/smbd/mangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/mangle.c b/source/smbd/mangle.c index 8f1490c528d..a43e7f62451 100644 --- a/source/smbd/mangle.c +++ b/source/smbd/mangle.c @@ -90,8 +90,6 @@ BOOL is_8_3(char *fname) if (slash_pos) fname = slash_pos+1; len = strlen(fname); - dot_pos = strchr(fname,'.'); - DEBUG(5,("checking %s for 8.3\n",fname)); if (case_mangle) @@ -122,6 +120,8 @@ BOOL is_8_3(char *fname) /* %%% A nice improvment to name mangling would be to translate filename to ANSI charset on the smb server host */ + dot_pos = strchr(fname,'.'); + { char *p = fname; #ifdef KANJI |