summaryrefslogtreecommitdiff
path: root/source3/auth/auth_builtin.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-03 19:11:31 +0000
committerJeremy Allison <jra@samba.org>2003-07-03 19:11:31 +0000
commitce72beb2b558d86fb49063c6b1fa00e07952ce56 (patch)
tree9c00a82c30d6edb2d9ce269653e739236ede67ce /source3/auth/auth_builtin.c
parent6b31240391949fb6afa83853aa3df30b354d508a (diff)
downloadsamba-ce72beb2b558d86fb49063c6b1fa00e07952ce56.tar.gz
Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
Diffstat (limited to 'source3/auth/auth_builtin.c')
-rw-r--r--source3/auth/auth_builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_builtin.c b/source3/auth/auth_builtin.c
index 03588367930..f7cdfe3fd2e 100644
--- a/source3/auth/auth_builtin.c
+++ b/source3/auth/auth_builtin.c
@@ -87,11 +87,11 @@ static NTSTATUS check_name_to_ntstatus_security(const struct auth_context *auth_
fstrcpy(user, user_info->smb_name.str);
if (strncasecmp("NT_STATUS", user, strlen("NT_STATUS")) == 0) {
- strupper(user);
+ strupper_m(user);
return nt_status_string_to_code(user);
}
- strlower(user);
+ strlower_m(user);
error_num = strtoul(user, NULL, 16);
DEBUG(5,("check_name_to_ntstatus_security: Error for user %s was %lx\n", user, error_num));