PageRenderTime 37ms CodeModel.GetById 30ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/webdis.c

http://github.com/nicolasff/webdis
C | 20 lines | 13 code | 7 blank | 0 comment | 2 complexity | 3993885e6628a2d3fccf996af9243fb0 MD5 | raw file
 1#include "server.h"
 2
 3#include <stdlib.h>
 4
 5int
 6main(int argc, char *argv[]) {
 7
 8	struct server *s;
 9
10	if(argc > 1) {
11		s = server_new(argv[1]);
12	} else {
13		s = server_new("webdis.json");
14	}
15
16	server_start(s);
17
18	return EXIT_SUCCESS;
19}
20