--- a/src/common/beaglequeuecache.cpp
+++ b/src/common/beaglequeuecache.cpp
@@ -24,6 +24,8 @@
#include "rclconfig.h"
#include "pathut.h"
#include "rcldoc.h"
+
+const string cstr_bgc_mimetype("mimetype");
BeagleQueueCache::BeagleQueueCache(RclConfig *cnf)
{
@@ -64,7 +66,7 @@
// Build a doc from saved metadata
cf.get(cstr_url, dotdoc.url, cstr_null);
- cf.get(cstr_mimetype, dotdoc.mimetype, cstr_null);
+ cf.get(cstr_bgc_mimetype, dotdoc.mimetype, cstr_null);
cf.get(cstr_fmtime, dotdoc.fmtime, cstr_null);
cf.get(cstr_fbytes, dotdoc.fbytes, cstr_null);
dotdoc.sig.clear();