Fix compiler warnings regarding const modifiers

This commit is contained in:
2026-06-09 13:49:05 +02:00
parent 9ea40b4793
commit 78ee3dc755
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ int path_exists(const char *path) {
return ret == 0;
}
int uri_init(http_uri *uri, const char *webroot, const char *uri_str, int dir_mode) {
int uri_init(http_uri *uri, const char *webroot, char *uri_str, int dir_mode) {
char buf0[1024], buf1[1024], buf2[1024], buf3[1024], buf4[1024];
int p_len;