From: wessels <> Date: Fri, 3 Nov 2000 01:34:48 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1791 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=273eab74e8b43834caf4b7125c6617b3cdbbd16c;p=thirdparty%2Fsquid.git DW: - `SD' undeclared (first use in this function) --- diff --git a/src/fs/coss/store_dir_coss.cc b/src/fs/coss/store_dir_coss.cc index 5bc928dbce..29ab53e349 100644 --- a/src/fs/coss/store_dir_coss.cc +++ b/src/fs/coss/store_dir_coss.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir_coss.cc,v 1.8 2000/11/01 03:35:48 wessels Exp $ + * $Id: store_dir_coss.cc,v 1.9 2000/11/02 18:34:48 wessels Exp $ * * DEBUG: section 81 Store COSS Directory Routines * AUTHOR: Eric Stern @@ -193,7 +193,6 @@ static void storeCossRebuildFromSwapLog(void *data) { RebuildState *rb = data; - SwapDir *sd = rb->sd; StoreEntry *e = NULL; storeSwapLogData s; size_t ss = sizeof(storeSwapLogData); @@ -237,7 +236,7 @@ storeCossRebuildFromSwapLog(void *data) } storeRelease(e); /* Fake an unlink here, this is a bad hack :( */ - storeCossRemove(sd, e); + storeCossRemove(rb->sd, e); rb->counts.objcount--; rb->counts.cancelcount++; } @@ -253,7 +252,7 @@ storeCossRebuildFromSwapLog(void *data) if ((++rb->counts.scancount & 0xFFF) == 0) { struct stat sb; if (0 == fstat(fileno(rb->log), &sb)) - storeRebuildProgress(SD->index, + storeRebuildProgress(rb->sd->index, (int) sb.st_size / ss, rb->n_read); } if (EBIT_TEST(s.flags, KEY_PRIVATE)) {