Browse Source

Remove extra "," in json file

pull/1379/merge
Xiandong 7 years ago
committed by Max Lv
parent
commit
b9085c2e32
1 changed files with 1 additions and 1 deletions
  1. 2
      src/manager.c

2
src/manager.c

@ -116,7 +116,7 @@ build_config(char *prefix, struct server *server)
if (server->method) fprintf(f, ",\n\"method\":\"%s\"", server->method);
if (server->plugin) fprintf(f, ",\n\"plugin\":\"%s\"", server->plugin);
if (server->plugin_opts) fprintf(f, ",\n\"plugin_opts\":\"%s\"", server->plugin_opts);
fprintf(f, ",\n}\n");
fprintf(f, "\n}\n");
fclose(f);
ss_free(path);
}

Loading…
Cancel
Save