Remove a variable and three lines of code which I should have removed as

part of revision 98776 back on June 24/2002.  Noticed by pfg@ trying
coccinelle for checking code.

MFC after:	3 weeks
This commit is contained in:
Garance A Drosehn 2016-04-25 20:58:54 +00:00
parent 05c6aa727f
commit 820a9567ed

View File

@ -657,11 +657,7 @@ chkhost(struct sockaddr *f, int ch_opts)
char hostbuf[NI_MAXHOST], ip[NI_MAXHOST];
char serv[NI_MAXSERV];
char *syserr, *usererr;
int error, errsav, fpass, good, wantsl;
wantsl = 0;
if (ch_opts & LPD_LOGCONNERR)
wantsl = 1; /* also syslog the errors */
int error, errsav, fpass, good;
from_host = ".na.";