diff options
author | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2012-05-08 13:15:13 +0000 |
---|---|---|
committer | YASUOKA Masahiko <yasuoka@cvs.openbsd.org> | 2012-05-08 13:15:13 +0000 |
commit | 99013be6c7f3058d49532f6ddf47243060c0fbc7 (patch) | |
tree | 31e8aa0b5d8be7662377d0c11c85411ecb2d1520 /usr.sbin/npppd/pppoe/pppoed.c | |
parent | f65340a7b560b789887dac26f3737467cda0da50 (diff) |
Fix comments and styles. Delete unused variables and labels.
No binary changes.
ok mcbride henning
Diffstat (limited to 'usr.sbin/npppd/pppoe/pppoed.c')
-rw-r--r-- | usr.sbin/npppd/pppoe/pppoed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/npppd/pppoe/pppoed.c b/usr.sbin/npppd/pppoe/pppoed.c index f8efdf60064..f63ed7afa8c 100644 --- a/usr.sbin/npppd/pppoe/pppoed.c +++ b/usr.sbin/npppd/pppoe/pppoed.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pppoed.c,v 1.8 2012/01/18 02:53:56 yasuoka Exp $ */ +/* $OpenBSD: pppoed.c,v 1.9 2012/05/08 13:15:12 yasuoka Exp $ */ /*- * Copyright (c) 2009 Internet Initiative Japan Inc. @@ -28,7 +28,7 @@ /**@file * This file provides the PPPoE(RFC2516) server(access concentrator) * implementaion. - * $Id: pppoed.c,v 1.8 2012/01/18 02:53:56 yasuoka Exp $ + * $Id: pppoed.c,v 1.9 2012/05/08 13:15:12 yasuoka Exp $ */ #include <sys/types.h> #include <sys/param.h> @@ -1131,7 +1131,7 @@ pppoed_log(pppoed *_this, int prio, const char *fmt, ...) PPPOED_ASSERT(_this != NULL); va_start(ap, fmt); -#ifdef PPPOED_MULITPLE +#ifdef PPPOED_MULTIPLE snprintf(logbuf, sizeof(logbuf), "pppoed id=%u %s", _this->id, fmt); #else snprintf(logbuf, sizeof(logbuf), "pppoed %s", fmt); |