diff options
author | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-06 23:21:55 +0000 |
---|---|---|
committer | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-06 23:21:55 +0000 |
commit | 34088fbeb4382bd1c65241403de99699dbabd022 (patch) | |
tree | e5b469f78b4e6c41d7db3f8e343d9ed7aba82d94 | |
parent | 32d697898ed85f514480c19f25737a5b9c3c42a4 (diff) | |
download | chromium_src-34088fbeb4382bd1c65241403de99699dbabd022.zip chromium_src-34088fbeb4382bd1c65241403de99699dbabd022.tar.gz chromium_src-34088fbeb4382bd1c65241403de99699dbabd022.tar.bz2 |
Fix ipc_channel_win logging for failed pipe creation.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/10378022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135607 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ipc/ipc_channel_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc index a34d6d7..bbb2eb9 100644 --- a/ipc/ipc_channel_win.cc +++ b/ipc/ipc_channel_win.cc @@ -251,7 +251,7 @@ bool Channel::ChannelImpl::CreatePipe(const IPC::ChannelHandle &channel_handle, if (pipe_ == INVALID_HANDLE_VALUE) { // If this process is being closed, the pipe may be gone already. LOG(WARNING) << "Unable to create pipe \"" << pipe_name << - "\" in " << (mode == 0 ? "server" : "client") + "\" in " << (mode & MODE_SERVER_FLAG ? "server" : "client") << " mode. Error :" << GetLastError(); return false; } |