From: Henrik Nordstrom Date: Sat, 1 Aug 2009 21:20:37 +0000 (+0200) Subject: Indented X-Git-Tag: SQUID_3_2_0_1~795^2~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf69f2b1f282ff7a194b373c1bdea82f4a1ead4;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 */