mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
Rename strNcpy to StrNCpy, and change third parameter.
This commit is contained in:
@@ -90,7 +90,7 @@ verify_password(char *user, char *password, Port *port,
|
||||
if (test_pw[strlen(test_pw) - 1] == '\n')
|
||||
test_pw[strlen(test_pw) - 1] = '\0';
|
||||
|
||||
strNcpy(salt, test_pw, 2);
|
||||
StrNCpy(salt, test_pw, 3);
|
||||
|
||||
if (strcmp(user, test_user) == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user