From: Automatic source maintenance Date: Thu, 27 Oct 2011 00:18:23 +0000 (-0600) Subject: SourceFormat Enforcement X-Git-Tag: BumpSslServerFirst.take01~74 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=126efcbb9ebbf6e8d881c8c319ad3a3bbad25a9f;p=thirdparty%2Fsquid.git SourceFormat Enforcement --- 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