Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (13 sloc) 231 Bytes
#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;
}