1
0
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:
Jeremy Allison
2003-11-18 02:06:41 +00:00
parent 7b39861342
commit 013a051103
2 changed files with 4 additions and 14 deletions

View File

@ -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++)) {