r3915 - trunk/varnish-cache/include
phk at projects.linpro.no
phk at projects.linpro.no
Wed Mar 11 15:34:29 CET 2009
Author: phk
Date: 2009-03-11 15:34:29 +0100 (Wed, 11 Mar 2009)
New Revision: 3915
Modified:
trunk/varnish-cache/include/persistent.h
Log:
Forgot this in last commit
Modified: trunk/varnish-cache/include/persistent.h
===================================================================
--- trunk/varnish-cache/include/persistent.h 2009-03-11 14:31:16 UTC (rev 3914)
+++ trunk/varnish-cache/include/persistent.h 2009-03-11 14:34:29 UTC (rev 3915)
@@ -143,11 +143,11 @@
unsigned char hash[32];
double ttl;
double ban;
- uint64_t offset;
+ struct object *ptr;
uint64_t len; /* XXX: madvise */
};
-#define SMP_OBJECT_SIZE (32 + 8 + 8 + 8 + 8)
+#define SMP_OBJECT_SIZE (32 + 8 + 8 + sizeof(void *) + 8)
/*
* Segment
More information about the varnish-commit
mailing list