diff options
author | waker <wakeroid@gmail.com> | 2011-11-26 15:22:50 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-11-26 15:22:50 +0100 |
commit | 088d8259a2dac2bd89fd1ad958d69ee0a46953df (patch) | |
tree | ad5133647279609a1b6f3dc6ba66b4da15e8b127 | |
parent | f9f579fc98a1ee81823f0a5741f3ee8468bea4e3 (diff) |
allow blank values in config variables
-rw-r--r-- | conf.c | 4 | ||||
-rw-r--r-- | playlist.c | 1 |
2 files changed, 0 insertions, 5 deletions
@@ -89,10 +89,6 @@ conf_load (void) { while (*p && *p <= 0x20) { p++; } - if (!*p) { - fprintf (stderr, "error in config file line %d\n", line); - continue; - } char *value = p; // remove trailing trash while (*p && *p >= 0x20) { @@ -2388,7 +2388,6 @@ pl_load_all (void) { char path[1024]; DB_conf_item_t *it = conf_find ("playlist.tab.", NULL); if (!it) { -// fprintf (stderr, "INFO: loading legacy default playlist\n"); // legacy (0.3.3 and earlier) char defpl[1024]; // $HOME/.config/deadbeef/default.dbpl if (snprintf (defpl, sizeof (defpl), "%s/default.dbpl", dbconfdir) > sizeof (defpl)) { |