From: Henrik Nordstrom Date: Wed, 29 Jul 2009 08:46:52 +0000 (+0200) Subject: indented X-Git-Tag: SQUID_3_2_0_1~795^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47ce0a586af64d65c349de1ad2c66c2f33f53911;p=thirdparty%2Fsquid.git indented --- diff --git a/src/store.cc b/src/store.cc index dc3b80bdaa..1e9440e226 100644 --- a/src/store.cc +++ b/src/store.cc @@ -314,17 +314,17 @@ StoreEntry::storeClientType() const /* the object has completed. */ if (mem_obj->inmem_lo == 0 && !isEmpty()) { - if (swap_status == SWAPOUT_DONE) { - if (mem_obj->endOffset() == mem_obj->object_sz) { - /* hot object fully swapped in */ - return STORE_MEM_CLIENT; - } - } else { - /* Memory-only, or currently being swapped out */ - return STORE_MEM_CLIENT; - } - } - return STORE_DISK_CLIENT; + if (swap_status == SWAPOUT_DONE) { + if (mem_obj->endOffset() == mem_obj->object_sz) { + /* hot object fully swapped in */ + return STORE_MEM_CLIENT; + } + } else { + /* Memory-only, or currently being swapped out */ + return STORE_MEM_CLIENT; + } + } + return STORE_DISK_CLIENT; } /* here and past, entry is STORE_PENDING */