Browse Source

* src/sources/files.c : fix ready()

master
Alex 'AdUser' Z 8 years ago
parent
commit
23c4545c2f
  1. 4
      src/sources/files.c

4
src/sources/files.c

@ -126,9 +126,9 @@ config(cfg_t *cfg, const char *key, const char *value) {
bool
ready(cfg_t *cfg) {
assert(cfg != NULL);
if (cfg->files)
return true;
if (cfg->path[0] == '\0')
return false;
return true;
}
char *

Loading…
Cancel
Save