From 126efcbb9ebbf6e8d881c8c319ad3a3bbad25a9f Mon Sep 17 00:00:00 2001 From: Automatic source maintenance Date: Wed, 26 Oct 2011 18:18:23 -0600 Subject: [PATCH] SourceFormat Enforcement --- compat/shm.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compat/shm.cc b/compat/shm.cc index 431df0a1a9..dbaf430e11 100644 --- a/compat/shm.cc +++ b/compat/shm.cc @@ -8,7 +8,7 @@ /* * Some systems have filesystem-based resources and interpret segment names - * as file paths. The so-called 'portable' "/name" format does not work well + * as file paths. The so-called 'portable' "/name" format does not work well * for them. And, according to Boost::interprocess, recent FreeBSD versions * make this decision depending on whether the shm_open() caller is jailed! */ @@ -16,12 +16,12 @@ bool shm_portable_segment_name_is_path() { #if defined(_SQUID_HPUX_) || defined(_SQUID_OSF_) || defined(__vms) || (defined(_SQUID_FREEBSD_) && (__FreeBSD__ < 7)) - return true; + return true; #elif defined(_SQUID_FREEBSD_) - int jailed = 0; - size_t len = sizeof(jailed); - ::sysctlbyname("security.jail.jailed", &jailed, &len, NULL, 0); - return !jailed; + int jailed = 0; + size_t len = sizeof(jailed); + ::sysctlbyname("security.jail.jailed", &jailed, &len, NULL, 0); + return !jailed; #else return false; #endif -- 2.47.2