Bläddra i källkod

struct mg_request_info * -> const struct mg_request_info *

valenok 15 år sedan
förälder
incheckning
fed9ffc150
1 ändrade filer med 1 tillägg och 1 borttagningar
  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,
 static void *callback(enum mg_event event,
                       struct mg_connection *conn,
                       struct mg_connection *conn,
-                      struct mg_request_info *request_info) {
+                      const struct mg_request_info *request_info) {
   int i;
   int i;
 
 
   for (i = 0; test_config[i].uri != NULL; i++) {
   for (i = 0; test_config[i].uri != NULL; i++) {