Add missing newline after pass password warning
This commit is contained in:
@@ -252,20 +252,22 @@ cleanup:
|
|||||||
void
|
void
|
||||||
pass_warn(void)
|
pass_warn(void)
|
||||||
{
|
{
|
||||||
struct sudo_conv_message msg;
|
struct sudo_conv_message msg[2];
|
||||||
struct sudo_conv_reply repl;
|
struct sudo_conv_reply repl[2];
|
||||||
|
|
||||||
/* Call conversation function */
|
/* Call conversation function */
|
||||||
memset(&msg, 0, sizeof(msg));
|
memset(msg, 0, sizeof(msg));
|
||||||
msg.msg_type = SUDO_CONV_ERROR_MSG;
|
msg[0].msg_type = SUDO_CONV_ERROR_MSG;
|
||||||
#ifdef INSULT
|
#ifdef INSULT
|
||||||
if (def_insults)
|
if (def_insults)
|
||||||
msg.msg = INSULT;
|
msg[0].msg = INSULT;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
msg.msg = def_badpass_message;
|
msg[0].msg = def_badpass_message;
|
||||||
|
msg[1].msg_type = SUDO_CONV_ERROR_MSG;
|
||||||
|
msg[1].msg = "\n";
|
||||||
memset(&repl, 0, sizeof(repl));
|
memset(&repl, 0, sizeof(repl));
|
||||||
sudo_conv(1, &msg, &repl);
|
sudo_conv(2, msg, repl);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
char *
|
||||||
|
Reference in New Issue
Block a user