Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Unified Diff: base/posix/unix_domain_socket.cc

Issue 11118004: Fix a couple small problems in base/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/files/file_path_watcher_linux.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/posix/unix_domain_socket.cc
===================================================================
--- base/posix/unix_domain_socket.cc (revision 161431)
+++ base/posix/unix_domain_socket.cc (working copy)
@@ -111,7 +111,7 @@
// 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]);
« no previous file with comments | « base/files/file_path_watcher_linux.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698