Commit bb9aa7c2 authored by Antoine Cellerier's avatar Antoine Cellerier

Prompt for password again after displaying "Wrong password."

parent 7b52fc6c
...@@ -274,7 +274,7 @@ static void Run( intf_thread_t *p_intf ) ...@@ -274,7 +274,7 @@ static void Run( intf_thread_t *p_intf )
cl->fd = fd; cl->fd = fd;
cl->buffer_write = NULL; cl->buffer_write = NULL;
cl->p_buffer_write = cl->buffer_write; cl->p_buffer_write = cl->buffer_write;
Write_message( cl, NULL, "Password:\xff\xfb\x01", WRITE_MODE_PWD ); Write_message( cl, NULL, "Password: \xff\xfb\x01", WRITE_MODE_PWD );
TAB_APPEND( p_sys->i_clients, p_sys->clients, cl ); TAB_APPEND( p_sys->i_clients, p_sys->clients, cl );
} }
...@@ -417,7 +417,8 @@ static void Run( intf_thread_t *p_intf ) ...@@ -417,7 +417,8 @@ static void Run( intf_thread_t *p_intf )
else else
{ {
/* wrong password */ /* wrong password */
Write_message( cl, NULL, "\r\nWrong password. ", Write_message( cl, NULL,
"\r\nWrong password.\r\nPassword: ",
WRITE_MODE_PWD ); WRITE_MODE_PWD );
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment