mirror of
https://github.com/samba-team/samba.git
synced 2025-11-28 12:23:49 +03:00
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 commit is contained in:
@@ -92,13 +92,13 @@ BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation)
|
||||
SSVAL(p,0,1);
|
||||
p += 2;
|
||||
pstrcpy_base(p,user,param);
|
||||
strupper(p);
|
||||
strupper_m(p);
|
||||
p += 21;
|
||||
p++;
|
||||
p += 15;
|
||||
p++;
|
||||
pstrcpy_base(p, workstation, param);
|
||||
strupper(p);
|
||||
strupper_m(p);
|
||||
p += 16;
|
||||
SSVAL(p, 0, CLI_BUFFER_SIZE);
|
||||
p += 2;
|
||||
|
||||
Reference in New Issue
Block a user