mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
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 87eb336d65
)
This commit is contained in:
@ -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++)) {
|
||||
|
Reference in New Issue
Block a user