This commit is contained in:
vanhauser-thc 2023-12-05 09:36:16 +01:00
parent 02e0c8ce3e
commit 438e4fa537

View file

@ -440,7 +440,7 @@ int32_t parse_options(char *miscptr, ptr_header_node *ptr_head) {
break;
case '1':
code_401_is_failure = 1;
*tmp = strchr(miscptr, ':');
tmp = strchr(miscptr, ':');
if (tmp)
miscptr = tmp + 1;
else
@ -448,7 +448,7 @@ int32_t parse_options(char *miscptr, ptr_header_node *ptr_head) {
break;
case '2':
code_302_is_success = 1;
*tmp = strchr(miscptr, ':');
tmp = strchr(miscptr, ':');
if (tmp)
miscptr = tmp + 1;
else