diff options
| author | Bruce Momjian | 1998-07-20 16:57:18 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1998-07-20 16:57:18 +0000 |
| commit | 0da6358f373c2736626b4189a3e7e413e107b9a0 (patch) | |
| tree | 686ef135cf4f3cb094b833f1d754e95e4e7766fd /src/interfaces | |
| parent | 34797d42253d488423b7a86a4a8335786b65cb59 (diff) | |
Cleanup use of 16 that should be NAMEDATALEN.
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/libpq/fe-auth.c | 4 | ||||
| -rw-r--r-- | src/interfaces/odbc/connection.h | 2 |
2 files changed, 3 insertions, 3 deletions
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; |
