mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
fix: httpd_sim
This commit is contained in:
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user