diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-11-05 17:46:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-11-05 17:46:40 +0000 |
commit | ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f (patch) | |
tree | bf6b60c08be3ddf5a40e110e8276dc2d45b1431c /src/backend/libpq/crypt.c | |
parent | 34153b205265e2e831c1e3ee02be0fc88fa41710 (diff) | |
download | postgresql-ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f.tar.gz postgresql-ea08e6cd5542cb269ecd3e735f1dfa3bb61fbc4f.zip |
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
initdb/regression tests pass.
Diffstat (limited to 'src/backend/libpq/crypt.c')
-rw-r--r-- | src/backend/libpq/crypt.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/libpq/crypt.c b/src/backend/libpq/crypt.c index 83921ee014f..04fdad7f075 100644 --- a/src/backend/libpq/crypt.c +++ b/src/backend/libpq/crypt.c @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/libpq/crypt.c,v 1.41 2001/11/02 18:39:57 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/crypt.c,v 1.42 2001/11/05 17:46:25 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -31,8 +31,8 @@ #define CRYPT_PWD_FILE "pg_pwd" -static char **pwd_cache = NULL; -static int pwd_cache_count = 0; +static char **pwd_cache = NULL; +static int pwd_cache_count = 0; /* * crypt_getpwdfilename --- get full pathname of password file @@ -91,8 +91,8 @@ compar_user(const void *user_a, const void *user_b) login_b = *((char **) user_b); /* - * We only really want to compare the user logins which are first - * and are terminated by CRYPT_PWD_FILE_SEPSTR. (NB: this code + * We only really want to compare the user logins which are first and + * are terminated by CRYPT_PWD_FILE_SEPSTR. (NB: this code * effectively assumes that CRYPT_PWD_FILE_SEPSTR is just one char.) */ len_a = strcspn(login_a, CRYPT_PWD_FILE_SEPSTR); @@ -134,10 +134,10 @@ load_password_cache(void) } /* - * Read the file and store its lines in current memory context, - * which we expect will be PostmasterContext. That context will - * live as long as we need the cache to live, ie, until just after - * each postmaster child has completed client authentication. + * Read the file and store its lines in current memory context, which + * we expect will be PostmasterContext. That context will live as + * long as we need the cache to live, ie, until just after each + * postmaster child has completed client authentication. */ while (fgets(buffer, sizeof(buffer), pwd_file) != NULL) { |