added const in mg_get_request_info()

This commit is contained in:
Sergey Lyubka committed 2012-08-18 16:47:25 +01:00
1 parent d70c18d692
commit 8b491d75b5
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -592,7 +592,8 @@ const char *mg_version(void) {
return MONGOOSE_VERSION;
}
const struct mg_request_info *mg_get_request_info(struct mg_connection *conn) {
const struct mg_request_info *
mg_get_request_info(const struct mg_connection *conn) {
return &conn->request_info;
}