mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 19:53:46 +00:00
Fix #1739
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user