Switch to unified view

a/src/index/recollindex.cpp b/src/index/recollindex.cpp
...
...
323
        if (!path_exists(*it)) {
323
        if (!path_exists(*it)) {
324
            nonexist.push_back(*it);
324
            nonexist.push_back(*it);
325
        }
325
        }
326
    }
326
    }
327
327
328
    // Check skippedPaths too, but only the user part (shallow==true), not
328
    // We'd like to check skippedPaths too, but these are wildcard exprs, so reasonably can't
329
    // the default values (e.g. /media, which might not exist).
330
    if (config->getConfParam("skippedPaths", &tdl, true)) {
331
        for (vector<string>::iterator it = tdl.begin(); it != tdl.end(); it++) {
332
            *it = path_tildexpand(*it);
333
            if (!path_exists(*it)) {
334
                nonexist.push_back(*it);
335
            }
336
        }
337
    }
338
329
339
    if (config->getConfParam("daemSkippedPaths", &tdl, true)) {
340
        for (vector<string>::iterator it = tdl.begin(); it != tdl.end(); it++) {
341
            *it = path_tildexpand(*it);
342
            if (!path_exists(*it)) {
343
                nonexist.push_back(*it);
344
            }
345
        }
346
    }
347
    return true;
330
    return true;
348
}
331
}
349
332
350
static const char *thisprog;
333
static const char *thisprog;
351
334