1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

Cleanup use of 16 that should be NAMEDATALEN.

This commit is contained in:
Bruce Momjian
1998-07-20 16:57:18 +00:00
parent 34797d4225
commit 0da6358f37
14 changed files with 35 additions and 44 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.19 1998/07/09 03:32:09 scrappy Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.20 1998/07/20 16:57:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -58,7 +58,7 @@
struct authsvc
{
char name[16]; /* service nickname (for command line) */
char name[NAMEDATALEN]; /* service nickname (for command line) */
MsgType msgtype; /* startup packet header type */
int allowed; /* initially allowed (before command line
* option parsing)? */

View File

@@ -83,7 +83,7 @@ typedef enum {
#define NO_AUTHENTICATION 7
#define PATH_SIZE 64
#define ARGV_SIZE 64
#define NAMEDATALEN 16
#define NAMEDATALEN 32
typedef unsigned int ProtocolVersion;