mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
removing trailing spaces
This commit is contained in:
@ -59,9 +59,9 @@ int User::init(const char *line)
|
|||||||
if (user_length > USERNAME_LENGTH)
|
if (user_length > USERNAME_LENGTH)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
assume that newline characater is present
|
assume that newline characater is present
|
||||||
we support reading password files that end in \n or \r\n on
|
we support reading password files that end in \n or \r\n on
|
||||||
either platform.
|
either platform.
|
||||||
*/
|
*/
|
||||||
if (password[strlen(password)-2] == '\r')
|
if (password[strlen(password)-2] == '\r')
|
||||||
|
Reference in New Issue
Block a user