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.

21 lines
232 B
C

#include "server.h"
14 years ago
#include <stdlib.h>
14 years ago
int
main(int argc, char *argv[]) {
14 years ago
struct server *s;
if(argc > 1) {
14 years ago
s = server_new(argv[1]);
} else {
14 years ago
s = server_new("webdis.json");
}
14 years ago
14 years ago
server_start(s);
14 years ago
return EXIT_SUCCESS;
}