mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-31 13:00:49 +00:00
Updated examples to conform to the evented API
This commit is contained in:
1 parent
458320cffb
commit
ea9a60a59a
8 files changed
+116
-62
No files matched your search
+1
-1
@@ -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.");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user