mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-02 07:53:43 +00:00
Update plugin.c
Launch plugin with NULL params gives plugin to run in both plugin mode & cli mode. See https://github.com/cbeuw/GoQuiet/issues/15
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ start_ss_plugin(const char *plugin,
|
||||
if (plugin_opts != NULL)
|
||||
cork_env_add(env, "SS_PLUGIN_OPTIONS", plugin_opts);
|
||||
|
||||
exec = cork_exec_new(plugin);
|
||||
exec = cork_exec_new_with_params(plugin, NULL);
|
||||
|
||||
cork_exec_set_env(exec, env);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user