API change: added void *user_data to mg_start(). Bumped version to 3.0

This commit is contained in:
valenok committed 2010-10-26 23:37:44 +01:00
1 parent 7034f49276
commit 11951a57ff
5 files changed
+14 -8

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ int main(void) {
struct mg_context *ctx;
const char *options[] = {"listening_ports", LISTENING_PORT, NULL};
ctx = mg_start(callback, options);
ctx = mg_start(callback, NULL, options);
pause();
return 0;
}