mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-15 10:29:47 +00:00
passing const struct mg_config
This commit is contained in:
1 parent
8d79e5b43f
commit
5651657ac6
1 file changed
+1
-1
+1
-1
@@ -107,7 +107,7 @@ struct mg_config {
|
||||
// It creates a serving thread, and returns a context structure that
|
||||
// can be used to stop the server.
|
||||
// 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.
|
||||
|
||||
Reference in new issue
Block a user