Fix 'lprm' processing so is more likely to work correctly when dealing

with long (>32 character) hostnames.

PR:		14978
Submitted by:	Tatsuya Kudoh <cdr@cosmonet.org>
This commit is contained in:
Garance A Drosehn 2000-11-05 03:21:57 +00:00
parent 2bfb7720d6
commit b9bde6517a

View File

@ -69,7 +69,7 @@ static const char rcsid[] =
static char root[] = "root";
static int all = 0; /* eliminate all files (root only) */
static int cur_daemon; /* daemon's pid */
static char current[40]; /* active control file name */
static char current[7+MAXHOSTNAMELEN]; /* active control file name */
extern uid_t uid, euid; /* real and effective user id's */