mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
API change: added void *user_data to mg_start(). Bumped version to 3.0
This commit is contained in:
1 parent
7034f49276
commit
11951a57ff
5 files changed
+14
-8
No files matched your search
+1
-1
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user