am 45038ae4: am 12f411d9: Merge "Correction to use of TEMP_FAILURE_RETRY in send_prop_msg"

* commit '45038ae483313a5cc445a90fb0499d4c6ad69b1d':
  Correction to use of TEMP_FAILURE_RETRY in send_prop_msg
This commit is contained in:
Elliott Hughes 2012-07-27 10:16:50 -07:00 committed by Android Git Automerger
commit 408e3e5046

View File

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