From d1c27021a429776e643cf2ab8099465ca472ae64 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Sat, 25 Aug 2001 23:41:37 +0000 Subject: [PATCH] Put a parenthesis in the right place (DUH!). This fixes the apparent immediate client timeout problem. --- libexec/pppoed/pppoed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c index a3c6d375ac79..424bd15ce43c 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); }