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.

20 lines
231 B
C

#include <stdlib.h>
#include "server.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;
}