1
0
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:
Jeremy Allison 2007-09-14 18:24:31 +00:00 committed by Gerald (Jerry) Carter
parent fe30a523df
commit c215d6e849

View File

@ -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;
}
}