You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include "server.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
int
|
|
main(int argc, char *argv[]) {
|
|
|
|
struct server *s;
|
|
|
|
if(argc > 1) {
|
|
s = server_new(argv[1]);
|
|
} else {
|
|
s = server_new("webdis.json");
|
|
}
|
|
|
|
server_start(s);
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|
|
|