mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
r25167: Fix breakage from mangling rewrite. Use the
new name if unmangling succeeded, not if it failed. Jerry - please re-test, this should fix your bug. Jeremy.
This commit is contained in:
parent
fe30a523df
commit
c215d6e849
@ -755,7 +755,8 @@ static BOOL scan_directory(connection_struct *conn, const char *path,
|
||||
name,
|
||||
&unmangled_name,
|
||||
conn->params);
|
||||
if (mangled) {
|
||||
if (!mangled) {
|
||||
/* Name is now unmangled. */
|
||||
name = unmangled_name;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user