* commit '45038ae483313a5cc445a90fb0499d4c6ad69b1d': Correction to use of TEMP_FAILURE_RETRY in send_prop_msg
This commit is contained in:
commit
408e3e5046
@ -176,7 +176,7 @@ static int send_prop_msg(prop_msg *msg)
|
|||||||
addr.sun_family = AF_LOCAL;
|
addr.sun_family = AF_LOCAL;
|
||||||
alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1;
|
alen = namelen + offsetof(struct sockaddr_un, sun_path) + 1;
|
||||||
|
|
||||||
if(TEMP_FAILURE_RETRY(connect(s, (struct sockaddr *) &addr, alen) < 0)) {
|
if(TEMP_FAILURE_RETRY(connect(s, (struct sockaddr *) &addr, alen)) < 0) {
|
||||||
close(s);
|
close(s);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user