summaryrefslogtreecommitdiffstats
path: root/libexec/pppoed/pppoed.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-08-25 23:41:37 +0000
committerbrian <brian@FreeBSD.org>2001-08-25 23:41:37 +0000
commit8638e55f32ea751d1be5fac53c95af56bdf048ba (patch)
tree08933e99217a921593e125c3d83cc01a3d72bf34 /libexec/pppoed/pppoed.c
parentbda61366885e0e613a4c020d238d73a7f129a877 (diff)
downloadFreeBSD-src-8638e55f32ea751d1be5fac53c95af56bdf048ba.zip
FreeBSD-src-8638e55f32ea751d1be5fac53c95af56bdf048ba.tar.gz
Put a parenthesis in the right place (DUH!).
This fixes the apparent immediate client timeout problem.
Diffstat (limited to 'libexec/pppoed/pppoed.c')
-rw-r--r--libexec/pppoed/pppoed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c
index a3c6d37..424bd15 100644
--- a/libexec/pppoed/pppoed.c
+++ b/libexec/pppoed/pppoed.c
@@ -359,7 +359,7 @@ Spawn(const char *prog, const char *acname, const char *provider,
syslog(LOG_INFO, "Waiting for a SUCCESS reply %s", path);
do {
- if ((ret = NgRecvMsg(cs, rep, sizeof msgbuf, NULL) < 0)) {
+ if ((ret = NgRecvMsg(cs, rep, sizeof msgbuf, NULL)) < 0) {
syslog(LOG_ERR, "%s: Cannot receive a message: %m", path);
_exit(EX_OSERR);
}
OpenPOWER on IntegriCloud