mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
Fixed strlower changes I missed. Pointed out by metze.
Jeremy
This commit is contained in:
parent
68245e9cfa
commit
da5ee2b765
@ -229,7 +229,7 @@ static struct chat_struct *make_pw_chat(char *p)
|
||||
|
||||
special_char_sub(prompt);
|
||||
fstrcpy(t->prompt, prompt);
|
||||
strlower(t->prompt);
|
||||
strlower_m(t->prompt);
|
||||
trim_string(t->prompt, " ", " ");
|
||||
|
||||
if (!next_token(&p, reply, NULL, sizeof(fstring)))
|
||||
@ -240,7 +240,7 @@ static struct chat_struct *make_pw_chat(char *p)
|
||||
|
||||
special_char_sub(reply);
|
||||
fstrcpy(t->reply, reply);
|
||||
strlower(t->reply);
|
||||
strlower_m(t->reply);
|
||||
trim_string(t->reply, " ", " ");
|
||||
|
||||
}
|
||||
|
@ -279,9 +279,9 @@ static void get_real_name(struct cli_state *cli,
|
||||
}
|
||||
if (f_info) {
|
||||
fstrcpy(short_name, f_info->short_name);
|
||||
strlower(short_name);
|
||||
strlower_m(short_name);
|
||||
pstrcpy(long_name, f_info->name);
|
||||
strlower(long_name);
|
||||
strlower_m(long_name);
|
||||
}
|
||||
|
||||
if (*short_name == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user