Index: net/socket/unix_domain_socket_posix.cc |
diff --git a/net/socket/unix_domain_socket_posix.cc b/net/socket/unix_domain_socket_posix.cc |
index 2b781d58b354e6871245f2e5d63f5e977a907be0..3141f7166b22abb033b8278065ac0b4313e21c70 100644 |
--- a/net/socket/unix_domain_socket_posix.cc |
+++ b/net/socket/unix_domain_socket_posix.cc |
@@ -130,7 +130,7 @@ SocketDescriptor UnixDomainSocket::CreateAndBind(const std::string& path, |
LOG(ERROR) << "Could not bind unix domain socket to " << path; |
if (use_abstract_namespace) |
LOG(ERROR) << " (with abstract namespace enabled)"; |
- if (HANDLE_EINTR(close(s)) < 0) |
+ if (IGNORE_EINTR(close(s)) < 0) |
LOG(ERROR) << "close() error"; |
return kInvalidSocket; |
} |
@@ -145,7 +145,7 @@ void UnixDomainSocket::Accept() { |
gid_t group_id; |
if (!GetPeerIds(conn, &user_id, &group_id) || |
!auth_callback_.Run(user_id, group_id)) { |
- if (HANDLE_EINTR(close(conn)) < 0) |
+ if (IGNORE_EINTR(close(conn)) < 0) |
LOG(ERROR) << "close() error"; |
return; |
} |