Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhauser-thc committed Dec 5, 2023
1 parent 02e0c8c commit 438e4fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydra-http-form.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,15 @@ 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
miscptr += strlen(miscptr);
break;
case '2':
code_302_is_success = 1;
*tmp = strchr(miscptr, ':');
tmp = strchr(miscptr, ':');
if (tmp)
miscptr = tmp + 1;
else
Expand Down

0 comments on commit 438e4fa

Please sign in to comment.