diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 05:51:18 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-12 05:51:18 +0000 |
commit | 6729422d966691fd0850c2e1b0df04452b006ecf (patch) | |
tree | f755555ec5ec90388f4764581330e0f625def38d /base/posix | |
parent | 1f4495bd0d7751d4a8820b3139e6534ce7f1fed3 (diff) | |
download | chromium_src-6729422d966691fd0850c2e1b0df04452b006ecf.zip chromium_src-6729422d966691fd0850c2e1b0df04452b006ecf.tar.gz chromium_src-6729422d966691fd0850c2e1b0df04452b006ecf.tar.bz2 |
Fix a couple small problems in base/
Review URL: https://chromiumcodereview.appspot.com/11118004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/posix')
-rw-r--r-- | base/posix/unix_domain_socket.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/posix/unix_domain_socket.cc b/base/posix/unix_domain_socket.cc index 36f4c43..da8be63 100644 --- a/base/posix/unix_domain_socket.cc +++ b/base/posix/unix_domain_socket.cc @@ -111,7 +111,7 @@ ssize_t UnixDomainSocket::SendRecvMsg(int fd, // This socketpair is only used for the IPC and is cleaned up before // returning. if (socketpair(AF_UNIX, SOCK_DGRAM, 0, fds) == -1) - return false; + return -1; std::vector<int> fd_vector; fd_vector.push_back(fds[1]); |