Merge pull request #289 from eraiza0816/fix/httpd-sim-const-warning

fix: httpd-sim-const-warning
This commit is contained in:
logicog
2026-07-19 09:49:08 +02:00
committed by GitHub
+1 -1
View File
@@ -561,7 +561,7 @@ char *scan_header(char *p)
else if (is_word(p, "\nCookie:")) { else if (is_word(p, "\nCookie:")) {
session = p + 9; session = p + 9;
while (*session == ' ') session++; while (*session == ' ') session++;
char *s = strstr(session, "session="); const char *s = strstr(session, "session=");
if (s) session = s + 8; if (s) session = s + 8;
} }
} }