Merge "Correction to use of TEMP_FAILURE_RETRY in send_prop_msg"

This commit is contained in:
Elliott Hughes 2012-07-27 10:02:59 -07:00 committed by android code review
commit 12f411d9a6

View File

@ -176,7 +176,7 @@ static int send_prop_msg(prop_msg *msg)
addr.sun_family = AF_LOCAL;
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);
return result;
}