summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/common/ipc_channel_posix.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/common/ipc_channel_posix.cc b/chrome/common/ipc_channel_posix.cc
index fc198e6..b688c77 100644
--- a/chrome/common/ipc_channel_posix.cc
+++ b/chrome/common/ipc_channel_posix.cc
@@ -364,9 +364,10 @@ bool Channel::ChannelImpl::ProcessIncomingMessages() {
msg.msg_iov = &iov;
msg.msg_iovlen = 1;
msg.msg_control = input_cmsg_buf_;
- msg.msg_controllen = sizeof(input_cmsg_buf_);
for (;;) {
+ msg.msg_controllen = sizeof(input_cmsg_buf_);
+
if (bytes_read == 0) {
if (pipe_ == -1)
return false;