diff options
-rw-r--r-- | source3/lib/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/hash.c b/source3/lib/hash.c index cd77b0b421..18b6534dec 100644 --- a/source3/lib/hash.c +++ b/source3/lib/hash.c @@ -93,7 +93,7 @@ static int string_hash(int hash_size, const char *key) u32 n = 0; const char *p; for (p = key; *p != '\0'; p++) { - n = ((n << 5) + n) ^ (u32)(*p++); + n = ((n << 5) + n) ^ (u32)(*p); } return (n % hash_size); } |