mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Merge pull request #289 from eraiza0816/fix/httpd-sim-const-warning
fix: httpd-sim-const-warning
This commit is contained in:
+1
-1
@@ -561,7 +561,7 @@ char *scan_header(char *p)
|
||||
else if (is_word(p, "\nCookie:")) {
|
||||
session = p + 9;
|
||||
while (*session == ' ') session++;
|
||||
char *s = strstr(session, "session=");
|
||||
const char *s = strstr(session, "session=");
|
||||
if (s) session = s + 8;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user