mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-09 16:21:45 +00:00
mg_start() has changed
This commit is contained in:
1 parent
11951a57ff
commit
b452eb1eae
1 file changed
+1
-1
+1
-1
@@ -374,7 +374,7 @@ int main(void) {
|
|||||||
srand((unsigned) time(0));
|
srand((unsigned) time(0));
|
||||||
|
|
||||||
// Setup and start Mongoose
|
// Setup and start Mongoose
|
||||||
ctx = mg_start(&event_handler, options);
|
ctx = mg_start(&event_handler, NULL, options);
|
||||||
assert(ctx != NULL);
|
assert(ctx != NULL);
|
||||||
|
|
||||||
// Wait until enter is pressed, then exit
|
// Wait until enter is pressed, then exit
|
||||||
|
|||||||
Reference in new issue
Block a user