Browse Source

Fix #1739

pull/1742/head
Max Lv 7 years ago
parent
commit
b3f3b58a1d
1 changed files with 1 additions and 1 deletions
  1. 2
      src/jconf.c

2
src/jconf.c

@ -247,7 +247,7 @@ read_jconf(const char *file)
conf.user = to_string(value);
} else if (strcmp(name, "plugin") == 0) {
conf.plugin = to_string(value);
if (strlen(conf.plugin) == 0) {
if (conf.plugin && strlen(conf.plugin) == 0) {
ss_free(conf.plugin);
conf.plugin = NULL;
}

Loading…
Cancel
Save