summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2011-10-11 23:41:51 +0000
committeryasuoka <yasuoka@openbsd.org>2011-10-11 23:41:51 +0000
commita79f0190307a3e3eae29690338c80c1e6d222972 (patch)
tree89ea8a41a33886f381c8ebbea5e7ff28496fe0de
parentAdd a flag for nginx (-u) to be able to disable chroot and use a better (diff)
downloadwireguard-openbsd-a79f0190307a3e3eae29690338c80c1e6d222972.tar.xz
wireguard-openbsd-a79f0190307a3e3eae29690338c80c1e6d222972.zip
We don't need to break after calling err(3) because this function will
not return. This diff produces no binary change. diff from Michael W. Bombardieri. ok dlg@, claudio@ CV: Enter eog. Lines beginning with `CVS:' are removed automatically
-rw-r--r--usr.sbin/pppoe/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppoe/server.c b/usr.sbin/pppoe/server.c
index 73f85e1bf63..e46d4a228d4 100644
--- a/usr.sbin/pppoe/server.c
+++ b/usr.sbin/pppoe/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.13 2007/09/03 14:26:54 deraadt Exp $ */
+/* $OpenBSD: server.c,v 1.14 2011/10/11 23:41:51 yasuoka Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -112,7 +112,7 @@ server_mode(int bpffd, u_int8_t *sysname, u_int8_t *srvname,
if (errno == EINTR)
continue;
err(EX_IOERR, "select");
- break;
+ /* NOTREACHED */
}
if (n == 0)
continue;