diff options
author | Jeremy Allison <jra@samba.org> | 1998-03-04 22:24:07 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-03-04 22:24:07 +0000 |
commit | 37f5f7b557aa59c7eba4a9f2f2f323d7cec62fc7 (patch) | |
tree | d5b166e140c87c91df179531319ee918b337725c /source/smbd/mangle.c | |
parent | 2df47cf1bb3428fbaa8dcf45ec114ec3aaafae57 (diff) | |
download | samba-37f5f7b557aa59c7eba4a9f2f2f323d7cec62fc7.tar.gz samba-37f5f7b557aa59c7eba4a9f2f2f323d7cec62fc7.tar.xz samba-37f5f7b557aa59c7eba4a9f2f2f323d7cec62fc7.zip |
Removed broken change I made to mangle.c (ooops. Andrew's original
algorithm was correct).
Finally (I think) fixed the mangled directory stack issue in
scan_directory() correctly. Mangled & non-mangled names are
now being checked correctly. Hurrah to Ulrik Dickow <ukd@kampsax.dk>
who helped isolate this one.
Jeremy.
Diffstat (limited to 'source/smbd/mangle.c')
-rw-r--r-- | source/smbd/mangle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/mangle.c b/source/smbd/mangle.c index d0d5ada2479..8aa53bc35ad 100644 --- a/source/smbd/mangle.c +++ b/source/smbd/mangle.c @@ -42,7 +42,7 @@ int str_checksum(char *s) while( *s ) { c = *s; - res ^= (c << (15-(i%15))) ^ (c >> (i % 15)); + res ^= (c << (i % 15)) ^ (c >> (15-(i%15))); s++; i++; } return(res); |