|
@@ -1685,7 +1685,7 @@ int main(int argc, char *argv[])
|
|
init_server_name(argc, (const char **)argv);
|
|
init_server_name(argc, (const char **)argv);
|
|
start_civetweb(argc, argv);
|
|
start_civetweb(argc, argv);
|
|
printf("%s started on port(s) %s with web root [%s]\n",
|
|
printf("%s started on port(s) %s with web root [%s]\n",
|
|
- g_server_name, mg_get_option(ctx, "listening_ports"),
|
|
|
|
|
|
+ g_server_name, mg_get_option(g_ctx, "listening_ports"),
|
|
mg_get_option(g_ctx, "document_root"));
|
|
mg_get_option(g_ctx, "document_root"));
|
|
while (g_exit_flag == 0) {
|
|
while (g_exit_flag == 0) {
|
|
sleep(1);
|
|
sleep(1);
|