1
0
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:
Bruce Momjian
1997-10-25 01:10:58 +00:00
parent 8b53f6e5b6
commit f3af1368bd
31 changed files with 87 additions and 83 deletions

View File

@@ -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)
{