Use MaxHostNameLen and MaxPathLen

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@536 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-05-13 02:07:52 +00:00
parent 69cfc74ba3
commit 446b212817
14 changed files with 38 additions and 44 deletions

View File

@@ -71,9 +71,6 @@
#define FALSE 0
#define NEWLINE '\n'
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 256
#endif
#define MAXUSERNAMELEN 65
#define MAXDROPLEN 64
#define MAXLINELEN 1024
@@ -190,7 +187,7 @@ typedef struct { /* POP parameter block */
int debug; /* Debugging requested */
char * myname; /* The name of this POP
daemon program */
char myhost[MAXHOSTNAMELEN]; /* The name of our host
char myhost[MaxHostNameLen]; /* The name of our host
computer */
char * client; /* Canonical name of client
computer */