Author: adrian.chadd
Date: Sun Jul 19 21:37:56 2009
New Revision: 14214

Modified:
    playpen/LUSCA_HEAD_storework/libsqstore/rebuild_entry.c

Log:
Record the object size if it is given to us.



Modified: playpen/LUSCA_HEAD_storework/libsqstore/rebuild_entry.c
==============================================================================
--- playpen/LUSCA_HEAD_storework/libsqstore/rebuild_entry.c     (original)
+++ playpen/LUSCA_HEAD_storework/libsqstore/rebuild_entry.c     Sun Jul 19  
21:37:56 2009
@@ -100,6 +100,8 @@
            case STORE_META_OBJSIZE:
                debug(47, 5) ("  STORE_META_OBJSIZE\n");
                /* XXX is this typecast'ed to the right "size" on all platforms 
? */
+               re->file_size = *((squid_off_t *) t->value);
+               parsed++;
                break;
            default:
                break;

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to