]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Tsantilas Christos <chtsanti@users.sourceforge.net>
authorwessels <>
Thu, 19 Apr 2007 22:14:53 +0000 (22:14 +0000)
committerwessels <>
Thu, 19 Apr 2007 22:14:53 +0000 (22:14 +0000)
Short StoreEntry::swapOut() does not compile when SIZEOF_OFF_T==4

My change to make a StoreEntry::swapOut() method missed a case inside
#ifdef SIZEOF_OFF_T==4.

src/store_swapout.cc

index 2774313010c03f8b4e9888b4d381c57730aa8d48..3e1b43abd4dfd8ab6545cb7db3c0af1f794601d8 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: store_swapout.cc,v 1.110 2007/04/17 23:05:17 wessels Exp $
+ * $Id: store_swapout.cc,v 1.111 2007/04/19 16:14:53 wessels Exp $
  *
  * DEBUG: section 20    Storage Manager Swapout Functions
  * AUTHOR: Duane Wessels
@@ -234,8 +234,8 @@ StoreEntry::swapOut()
 #if SIZEOF_OFF_T == 4
 
     if (mem_obj->endOffset() > 0x7FFF0000) {
-        debug(20, 0) ("WARNING: preventing off_t overflow for %s\n", storeUrl(e));
-        storeAbort(e);
+        debug(20, 0) ("WARNING: preventing off_t overflow for %s\n", storeUrl(this));
+        storeAbort(this);
         return;
     }