mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
fix
This commit is contained in:
parent
02e0c8ce3e
commit
438e4fa537
1 changed files with 2 additions and 2 deletions
|
@ -440,7 +440,7 @@ int32_t parse_options(char *miscptr, ptr_header_node *ptr_head) {
|
||||||
break;
|
break;
|
||||||
case '1':
|
case '1':
|
||||||
code_401_is_failure = 1;
|
code_401_is_failure = 1;
|
||||||
*tmp = strchr(miscptr, ':');
|
tmp = strchr(miscptr, ':');
|
||||||
if (tmp)
|
if (tmp)
|
||||||
miscptr = tmp + 1;
|
miscptr = tmp + 1;
|
||||||
else
|
else
|
||||||
|
@ -448,7 +448,7 @@ int32_t parse_options(char *miscptr, ptr_header_node *ptr_head) {
|
||||||
break;
|
break;
|
||||||
case '2':
|
case '2':
|
||||||
code_302_is_success = 1;
|
code_302_is_success = 1;
|
||||||
*tmp = strchr(miscptr, ':');
|
tmp = strchr(miscptr, ':');
|
||||||
if (tmp)
|
if (tmp)
|
||||||
miscptr = tmp + 1;
|
miscptr = tmp + 1;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue