mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 05:13:51 -07:00
resolve compiler warnings identified by gcc 9.3.0
This commit is contained in:
parent
981e19852b
commit
7f19248e34
2 changed files with 1 additions and 5 deletions
|
@ -1039,7 +1039,7 @@ int32_t start_http_form(int32_t s, char *ip, int32_t port, unsigned char options
|
|||
}
|
||||
|
||||
if (strrchr(url, ':') == NULL && port != 80) {
|
||||
sprintf(str2, "%s:%d", str2, port);
|
||||
sprintf(str2, "%.2040s:%d", str2, port);
|
||||
}
|
||||
|
||||
if (verbose)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue