Put a parenthesis in the right place (DUH!).

This fixes the apparent immediate client timeout problem.
This commit is contained in:
Brian Somers 2001-08-25 23:41:37 +00:00
parent 826fac3f15
commit d1c27021a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82333

View File

@ -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);
}