summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 70f34c52ad..17fa35c0d7 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -125,10 +125,6 @@ BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component,
pstring orig_path;
BOOL component_was_mangled = False;
BOOL name_has_wildcard = False;
-#if 0
- /* Andrew's conservative code... JRA. */
- extern char magic_char;
-#endif
ZERO_STRUCTP(pst);
@@ -240,13 +236,6 @@ BOOL unix_convert(char *name,connection_struct *conn,char *saved_last_component,
if(is_mangled(start))
component_was_mangled = True;
-#if 0
- /* Keep Andrew's conservative code around, just in case. JRA. */
- /* this is an extremely conservative test for mangled names. */
- if (strchr_m(start,magic_char))
- component_was_mangled = True;
-#endif
-
/*
* Now we need to recursively match the name against the real
* directory structure.