Updated examples to conform to the evented API

This commit is contained in:
Sergey Lyubka committed 2014-03-02 12:16:09 +00:00
1 parent 458320cffb
commit ea9a60a59a
8 files changed
+116 -62

No files matched your search

+1 -1
View File
@@ -380,7 +380,7 @@ static void start_mongoose(int argc, char *argv[]) {
char *options[MAX_OPTIONS];
int i;
if ((server = mg_create_server(NULL)) == NULL) {
if ((server = mg_create_server(NULL, NULL)) == NULL) {
die("%s", "Failed to start Mongoose.");
}