From 72e159b70c939b28cf85ad3cd2bc1f2d3e5d5e51 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sat, 10 May 1997 03:44:50 +0000 Subject: [PATCH] Ouch. This was dying to cause problems ! Luckily the side-effects were what was intended. --- usr.sbin/pppd/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pppd/main.c b/usr.sbin/pppd/main.c index c13a90d5f1d6..5fb98dd533e7 100644 --- a/usr.sbin/pppd/main.c +++ b/usr.sbin/pppd/main.c @@ -18,7 +18,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: main.c,v 1.10 1997/02/22 16:11:48 peter Exp $"; +static char rcsid[] = "$Id: main.c,v 1.11 1997/04/15 07:00:33 danny Exp $"; #endif #include @@ -398,7 +398,7 @@ main(argc, argv) /* write interface unit number to file */ for (n = strlen(devnam); n > 0 ; n--) if (devnam[n] == '/') { - n = n++; + n++; break; } (void) sprintf(iffilename, "%s%s.if", _PATH_VARRUN, &devnam[n]);