diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:00:43 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-24 16:00:43 +0200 |
commit | c3415b3e57717cfb96b9df7caa1a27fbc26bde21 (patch) | |
tree | 4217157469cf5162c97c515e0288b963cf457437 /source4/ntvfs/posix/pvfs_util.c | |
parent | 264277b555a7bd9d2308ef6ec24ecef77fa1d401 (diff) | |
download | samba-c3415b3e57717cfb96b9df7caa1a27fbc26bde21.tar.gz samba-c3415b3e57717cfb96b9df7caa1a27fbc26bde21.tar.bz2 samba-c3415b3e57717cfb96b9df7caa1a27fbc26bde21.zip |
Add version of next_codepoint without iconv_convenience.
Diffstat (limited to 'source4/ntvfs/posix/pvfs_util.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_util.c b/source4/ntvfs/posix/pvfs_util.c index 2aea15fbd1..8f95992e9a 100644 --- a/source4/ntvfs/posix/pvfs_util.c +++ b/source4/ntvfs/posix/pvfs_util.c @@ -179,11 +179,10 @@ uint32_t pvfs_name_hash(const char *key, size_t length) const uint32_t fnv1_prime = 0x01000193; const uint32_t fnv1_init = 0xa6b93095; uint32_t value = fnv1_init; - struct smb_iconv_convenience *iconv_convenience = lp_iconv_convenience(global_loadparm); while (*key && length--) { size_t c_size; - codepoint_t c = next_codepoint(iconv_convenience, key, &c_size); + codepoint_t c = next_codepoint(key, &c_size); c = toupper_m(c); value *= fnv1_prime; value ^= (uint32_t)c; |