Switch to unified view

a/src/common/beaglequeuecache.cpp b/src/common/beaglequeuecache.cpp
...
...
22
#include "circache.h"
22
#include "circache.h"
23
#include "debuglog.h"
23
#include "debuglog.h"
24
#include "rclconfig.h"
24
#include "rclconfig.h"
25
#include "pathut.h"
25
#include "pathut.h"
26
#include "rcldoc.h"
26
#include "rcldoc.h"
27
28
const string cstr_bgc_mimetype("mimetype");
27
29
28
BeagleQueueCache::BeagleQueueCache(RclConfig *cnf) 
30
BeagleQueueCache::BeagleQueueCache(RclConfig *cnf) 
29
{
31
{
30
    string ccdir;
32
    string ccdir;
31
    cnf->getConfParam("webcachedir", ccdir);
33
    cnf->getConfParam("webcachedir", ccdir);
...
...
62
    if (htt)
64
    if (htt)
63
        cf.get(Rcl::Doc::keybght, *htt, cstr_null);
65
        cf.get(Rcl::Doc::keybght, *htt, cstr_null);
64
66
65
    // Build a doc from saved metadata 
67
    // Build a doc from saved metadata 
66
    cf.get(cstr_url, dotdoc.url, cstr_null);
68
    cf.get(cstr_url, dotdoc.url, cstr_null);
67
    cf.get(cstr_mimetype, dotdoc.mimetype, cstr_null);
69
    cf.get(cstr_bgc_mimetype, dotdoc.mimetype, cstr_null);
68
    cf.get(cstr_fmtime, dotdoc.fmtime, cstr_null);
70
    cf.get(cstr_fmtime, dotdoc.fmtime, cstr_null);
69
    cf.get(cstr_fbytes, dotdoc.fbytes, cstr_null);
71
    cf.get(cstr_fbytes, dotdoc.fbytes, cstr_null);
70
    dotdoc.sig.clear();
72
    dotdoc.sig.clear();
71
    list<string> names = cf.getNames(cstr_null);
73
    list<string> names = cf.getNames(cstr_null);
72
    for (list<string>::const_iterator it = names.begin();
74
    for (list<string>::const_iterator it = names.begin();