#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
-static char rcsid[] = "$Id: main.c,v 1.6 1996/12/17 19:33:53 tholo Exp $";
+static char rcsid[] = "$Id: main.c,v 1.7 1997/04/06 08:43:41 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
{
extern char **environ;
char *tname;
- long allflags;
int repcnt = 0, failopenlogged = 0;
struct rlimit limit;
int rval;
register int c;
register char *np;
unsigned char cs;
- int ppp_state;
+ int ppp_state = 0;
int ppp_connection = 0;
/*
#ifndef lint
/*static char sccsid[] = "from: @(#)subr.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$Id: subr.c,v 1.7 1996/12/17 19:33:55 tholo Exp $";
+static char rcsid[] = "$Id: subr.c,v 1.8 1997/04/06 08:43:44 deraadt Exp $";
#endif /* not lint */
/*
termbuf[sizeof(termbuf)-1] = '\0';
*ep++ = termbuf;
}
- if (p = EV) {
+ if ((p = EV)) {
q = p;
- while (q = strchr(q, ',')) {
+ while ((q = strchr(q, ','))) {
*q++ = '\0';
*ep++ = p;
p = q;