From 0da6358f373c2736626b4189a3e7e413e107b9a0 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 20 Jul 1998 16:57:18 +0000 Subject: Cleanup use of 16 that should be NAMEDATALEN. --- src/interfaces/libpq/fe-auth.c | 4 ++-- src/interfaces/odbc/connection.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index de4cde24e5b..430a8c37894 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -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)? */ diff --git a/src/interfaces/odbc/connection.h b/src/interfaces/odbc/connection.h index e5d380c5cf0..c1b4c32e281 100644 --- a/src/interfaces/odbc/connection.h +++ b/src/interfaces/odbc/connection.h @@ -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; -- cgit v1.2.3