浏览代码

struct mg_request_info * -> const struct mg_request_info *

valenok 15 年之前
父节点
当前提交
fed9ffc150
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/embed.c

+ 1 - 1
test/embed.c

@@ -148,7 +148,7 @@ static const struct test_config {
 
 static void *callback(enum mg_event event,
                       struct mg_connection *conn,
-                      struct mg_request_info *request_info) {
+                      const struct mg_request_info *request_info) {
   int i;
 
   for (i = 0; test_config[i].uri != NULL; i++) {