adjust naming convention and initial config support
This commit is contained in:
@@ -8,7 +8,7 @@ int main(int argc, char **argv) {
|
||||
|
||||
fprintf(stdout, BOLD GREEN "[server] Running cws on http://localhost:%s...\n" RESET, default_port);
|
||||
|
||||
int ret = start_server(NULL, default_port);
|
||||
int ret = cws_server_start(NULL, default_port);
|
||||
if (ret < 0) {
|
||||
fprintf(stderr, BOLD RED "Unable to start web server\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user