diff --git a/examples/chat.c b/examples/chat.c index 7aa81453..8ce6833d 100644 --- a/examples/chat.c +++ b/examples/chat.c @@ -374,7 +374,7 @@ int main(void) { srand((unsigned) time(0)); // Setup and start Mongoose - ctx = mg_start(&event_handler, options); + ctx = mg_start(&event_handler, NULL, options); assert(ctx != NULL); // Wait until enter is pressed, then exit