Commit 5651657a authored by Sergey Lyubka's avatar Sergey Lyubka

passing const struct mg_config

parent 8d79e5b4
...@@ -107,7 +107,7 @@ struct mg_config { ...@@ -107,7 +107,7 @@ struct mg_config {
// It creates a serving thread, and returns a context structure that // It creates a serving thread, and returns a context structure that
// can be used to stop the server. // can be used to stop the server.
// After calling mg_start(), configuration data must not be changed. // After calling mg_start(), configuration data must not be changed.
struct mg_context *mg_start(struct mg_config *); struct mg_context *mg_start(const struct mg_config *);
// Stop the web server. // Stop the web server.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment