1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

alot of formatting changes that came out of JimW's review

This commit is contained in:
reggie@fedora.(none)
2005-08-03 16:20:27 -05:00
parent f3de5d6b69
commit 8cb3bd41c8
10 changed files with 208 additions and 198 deletions

View File

@ -62,8 +62,8 @@ int User::init(const char *line)
/* assume that newline characater is present */
if (password[strlen(password)-2] == '\r')
{
password[strlen(password)-2] = '\n';
password[strlen(password)-1] = 0;
password[strlen(password)-2]= '\n';
password[strlen(password)-1]= 0;
}
if (strlen(password) != SCRAMBLED_PASSWORD_CHAR_LENGTH + 1)
goto err;