mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-03-12 04:36:23 -07:00
fix return
This commit is contained in:
parent
9ac9f7010e
commit
e5996654ed
@ -259,7 +259,7 @@ int32_t add_header(ptr_header_node *ptr_head, char *header, char *value, char ty
|
||||
ptr_header_node existing_hdr, new_ptr;
|
||||
|
||||
if (!header || !value || !strlen(header) || !strlen(value))
|
||||
return;
|
||||
return 0;
|
||||
|
||||
// get to the last header
|
||||
for (cur_ptr = *ptr_head; cur_ptr && cur_ptr->next; cur_ptr = cur_ptr->next)
|
||||
|
Loading…
x
Reference in New Issue
Block a user