summaryrefslogtreecommitdiffstats
path: root/chrome/browser/process_singleton_linux.cc
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 01:46:46 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-08 01:46:46 +0000
commit2c41c0058e3a7ec333f974aa0e45c2fc78fb9556 (patch)
tree4bb483d8d7749f8e222491c752e817ac2f49eb62 /chrome/browser/process_singleton_linux.cc
parent5382cf9088a403e3fa12fa3c5b4130e2d3e09ad8 (diff)
downloadchromium_src-2c41c0058e3a7ec333f974aa0e45c2fc78fb9556.zip
chromium_src-2c41c0058e3a7ec333f974aa0e45c2fc78fb9556.tar.gz
chromium_src-2c41c0058e3a7ec333f974aa0e45c2fc78fb9556.tar.bz2
Revert r15607
r15607 broke the build TBR=brg, thestig git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton_linux.cc')
-rw-r--r--chrome/browser/process_singleton_linux.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/process_singleton_linux.cc b/chrome/browser/process_singleton_linux.cc
index 57a6531..fcd64259 100644
--- a/chrome/browser/process_singleton_linux.cc
+++ b/chrome/browser/process_singleton_linux.cc
@@ -64,8 +64,6 @@ void ProcessSingleton::SetupSocket(int* sock, struct sockaddr_un* addr) {
LOG(FATAL) << "socket() failed: " << strerror(errno);
addr->sun_family = AF_UNIX;
- if (socket_path_.value().length() > sizeof(addr->sun_path) - 1)
- LOG(FATAL) << "Socket path too long: " << socket_path_.value();
base::strlcpy(addr->sun_path, socket_path_.value().c_str(),
sizeof(addr->sun_path));
}