summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 02:51:03 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 02:51:03 +0200
commit7ec58471dfd12cbd3aa38a07145b1ecceaec1933 (patch)
tree5df8a38aa6eef32458fe4417cd776190c3aa91bb /source4
parent5e4767b532cc2f7401a9a1e7601433bd5acbdf35 (diff)
downloadsamba-7ec58471dfd12cbd3aa38a07145b1ecceaec1933.tar.gz
samba-7ec58471dfd12cbd3aa38a07145b1ecceaec1933.tar.bz2
samba-7ec58471dfd12cbd3aa38a07145b1ecceaec1933.zip
Split up codepoints code, use consistent _m suffix.
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_user.h2
-rw-r--r--source4/ntvfs/posix/pvfs_util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libnet/libnet_user.h b/source4/libnet/libnet_user.h
index 7095160004..4aad654b3b 100644
--- a/source4/libnet/libnet_user.h
+++ b/source4/libnet/libnet_user.h
@@ -67,7 +67,7 @@ struct libnet_ModifyUser {
#define SET_FIELD_LSA_STRING(new, current, mod, field, flag) \
if (new.field != NULL && \
- !strequal_w(current->field.string, new.field)) { \
+ !strequal_m(current->field.string, new.field)) { \
\
mod->field = talloc_strdup(mem_ctx, new.field); \
if (mod->field == NULL) return NT_STATUS_NO_MEMORY; \
diff --git a/source4/ntvfs/posix/pvfs_util.c b/source4/ntvfs/posix/pvfs_util.c
index b52c3e387b..720ddaaa7b 100644
--- a/source4/ntvfs/posix/pvfs_util.c
+++ b/source4/ntvfs/posix/pvfs_util.c
@@ -183,7 +183,7 @@ uint32_t pvfs_name_hash(const char *key, size_t length)
while (*key && length--) {
size_t c_size;
codepoint_t c = next_codepoint(lp_iconv_convenience(global_loadparm), key, &c_size);
- c = toupper_w(c);
+ c = toupper_m(c);
value *= fnv1_prime;
value ^= (uint32_t)c;
key += c_size;