Browse Source

Corrected comment for mg_start()

valenok 14 years ago
parent
commit
d1de5f0190
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mongoose.h

+ 1 - 1
mongoose.h

@@ -92,7 +92,7 @@ typedef void * (*mg_callback_t)(enum mg_event event,
 //     "listening_ports", "80,443s",
 //     NULL
 //   };
-//   struct mg_context *ctx = mg_start(&my_func, options);
+//   struct mg_context *ctx = mg_start(&my_func, NULL, options);
 //
 // Please refer to http://code.google.com/p/mongoose/wiki/MongooseManual
 // for the list of valid option and their possible values.