diff options
Diffstat (limited to 'src/backend/libpq/password.c')
-rw-r--r-- | src/backend/libpq/password.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/libpq/password.c b/src/backend/libpq/password.c index 3e3b8401e15..3722d2bd7f5 100644 --- a/src/backend/libpq/password.c +++ b/src/backend/libpq/password.c @@ -1,7 +1,7 @@ /* * Copyright (c) 1994, Regents of the University of California * - * $Id: password.c,v 1.25 1999/07/17 20:17:02 momjian Exp $ + * $Id: password.c,v 1.26 1999/10/23 03:13:21 tgl Exp $ * */ @@ -34,7 +34,7 @@ verify_password(char *auth_arg, char *user, char *password) #endif if (!pw_file) { - snprintf(PQerrormsg, ERROR_MSG_LENGTH, + snprintf(PQerrormsg, PQERRORMSG_LENGTH, "verify_password: couldn't open password file '%s'\n", pw_file_fullname); fputs(PQerrormsg, stderr); @@ -79,7 +79,7 @@ verify_password(char *auth_arg, char *user, char *password) return STATUS_OK; } - snprintf(PQerrormsg, ERROR_MSG_LENGTH, + snprintf(PQerrormsg, PQERRORMSG_LENGTH, "verify_password: password mismatch for '%s'.\n", user); fputs(PQerrormsg, stderr); @@ -91,7 +91,7 @@ verify_password(char *auth_arg, char *user, char *password) } } - snprintf(PQerrormsg, ERROR_MSG_LENGTH, + snprintf(PQerrormsg, PQERRORMSG_LENGTH, "verify_password: user '%s' not found in password file.\n", user); fputs(PQerrormsg, stderr); |