|
a/src/index/beaglequeue.cpp |
|
b/src/index/beaglequeue.cpp |
|
... |
|
... |
125 |
continue;
|
125 |
continue;
|
126 |
line = line.substr(2);
|
126 |
line = line.substr(2);
|
127 |
confstr += line + "\n";
|
127 |
confstr += line + "\n";
|
128 |
}
|
128 |
}
|
129 |
ConfSimple fields(confstr, 1);
|
129 |
ConfSimple fields(confstr, 1);
|
130 |
list<string> names = fields.getNames(cstr_null);
|
130 |
vector<string> names = fields.getNames(cstr_null);
|
131 |
for (list<string>::iterator it = names.begin();
|
131 |
for (vector<string>::iterator it = names.begin();
|
132 |
it != names.end(); it++) {
|
132 |
it != names.end(); it++) {
|
133 |
string value;
|
133 |
string value;
|
134 |
fields.get(*it, value, cstr_null);
|
134 |
fields.get(*it, value, cstr_null);
|
135 |
if (!value.compare("undefined") || !value.compare("null"))
|
135 |
if (!value.compare("undefined") || !value.compare("null"))
|
136 |
continue;
|
136 |
continue;
|