summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_posix.cc
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 18:26:06 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-16 18:26:06 +0000
commitd2b44bd628c85b8d7150a533b6c8a6b857211aa8 (patch)
tree8233b7c4c81a86435eef94ddc690daed55fc1f16 /ipc/ipc_channel_posix.cc
parenta29502632b8f8b8663103ca5e1a01d94f4cdcd64 (diff)
downloadchromium_src-d2b44bd628c85b8d7150a533b6c8a6b857211aa8.zip
chromium_src-d2b44bd628c85b8d7150a533b6c8a6b857211aa8.tar.gz
chromium_src-d2b44bd628c85b8d7150a533b6c8a6b857211aa8.tar.bz2
x
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49989 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_posix.cc')
-rw-r--r--ipc/ipc_channel_posix.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc
index 2fc1a18..6e8e2642 100644
--- a/ipc/ipc_channel_posix.cc
+++ b/ipc/ipc_channel_posix.cc
@@ -200,7 +200,8 @@ bool ServerAcceptFifoConnection(int server_listen_fd, int* server_socket) {
if (accept_fd < 0)
return false;
if (fcntl(accept_fd, F_SETFL, O_NONBLOCK) == -1) {
- HANDLE_EINTR(close(accept_fd));
+ if (HANDLE_EINTR(close(accept_fd)) < 0)
+ PLOG(ERROR) << "close";
return false;
}