summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
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;