Put a parenthesis in the right place (DUH!).
This fixes the apparent immediate client timeout problem.
This commit is contained in:
parent
826fac3f15
commit
d1c27021a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82333
@ -359,7 +359,7 @@ Spawn(const char *prog, const char *acname, const char *provider,
|
|||||||
syslog(LOG_INFO, "Waiting for a SUCCESS reply %s", path);
|
syslog(LOG_INFO, "Waiting for a SUCCESS reply %s", path);
|
||||||
|
|
||||||
do {
|
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);
|
syslog(LOG_ERR, "%s: Cannot receive a message: %m", path);
|
||||||
_exit(EX_OSERR);
|
_exit(EX_OSERR);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user