Browse Source

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

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

6
src/sources/files.c

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

Loading…
Cancel
Save