The store meta parser stopped when encountering the first "unknown" entry.
This is bad for extensibility. Should continue parsing what we do know
how to handle.
/*
- * $Id: StoreMetaUnpacker.cc,v 1.5 2007/04/30 16:56:09 wessels Exp $
+ * $Id: StoreMetaUnpacker.cc,v 1.6 2007/12/14 19:47:54 hno Exp $
*
* DEBUG: section 20 Storage Manager Swapfile Unpacker
* AUTHOR: Robert Collins
StoreMeta *newNode = StoreMeta::Factory(type, length, &buf[position]);
- if (!newNode)
- return false;
-
- tail = StoreMeta::Add (tail, newNode);
+ if (newNode)
+ tail = StoreMeta::Add (tail, newNode);
position += length;