diff options
author | Jeremy Allison <jra@samba.org> | 2003-11-18 02:06:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-11-18 02:06:46 +0000 |
commit | 1276bbf4c9092ce8eaf3f0e30a85e71b8c0114b0 (patch) | |
tree | f5753bae3f6a4ff2607351dd06000bc13e45fb86 /source3/lib | |
parent | 5e9265c997fef8193345bf3a4cad2bf19796ed01 (diff) | |
download | samba-1276bbf4c9092ce8eaf3f0e30a85e71b8c0114b0.tar.gz samba-1276bbf4c9092ce8eaf3f0e30a85e71b8c0114b0.tar.bz2 samba-1276bbf4c9092ce8eaf3f0e30a85e71b8c0114b0.zip |
Remove unneeded second open for filename ending in '.' now we know it's
a mangled name. Added const. Fix inspired by Andrew Bartlett ideas.
Jeremy.
(This used to be commit 8de1d4ebf72928c958d4c5be887f2babe13d3c87)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index ce1389c8e9..39515c6599 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2234,7 +2234,7 @@ char *parent_dirname(const char *path) Determine if a pattern contains any Microsoft wildcard characters. *******************************************************************/ -BOOL ms_has_wild(char *s) +BOOL ms_has_wild(const char *s) { char c; while ((c = *s++)) { |