From: wessels <> Date: Tue, 27 Jun 2000 04:46:14 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1911 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3cab6131feb1112719f5781d23fc99942c5a1d19;p=thirdparty%2Fsquid.git DW: - Missed the primary place where swapin completes and we should increment the swapin counter. --- diff --git a/src/store_client.cc b/src/store_client.cc index 17096134ef..e715c2306b 100644 --- a/src/store_client.cc +++ b/src/store_client.cc @@ -1,6 +1,6 @@ /* - * $Id: store_client.cc,v 1.93 2000/05/31 04:27:20 wessels Exp $ + * $Id: store_client.cc,v 1.94 2000/06/26 22:46:14 wessels Exp $ * * DEBUG: section 20 Storage Manager Client-Side Interface * AUTHOR: Duane Wessels @@ -515,6 +515,7 @@ storeUnregister(store_client * sc, StoreEntry * e, void *data) storeClose(sc->swapin_sio); cbdataUnlock(sc->swapin_sio); sc->swapin_sio = NULL; + Counter.swap.ins++; } if (NULL != sc->callback) { /* callback with ssize = -1 to indicate unexpected termination */