Explorar el Código

mg_start() has changed

valenok hace 14 años
padre
commit
b452eb1eae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/chat.c

+ 1 - 1
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