resolve compiler warnings identified by gcc 9.3.0

This commit is contained in:
Karim Kanso 2020-11-12 15:27:08 +00:00
parent 981e19852b
commit 7f19248e34
2 changed files with 1 additions and 5 deletions

View file

@ -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)

View file

@ -610,10 +610,6 @@ void help_bfg() {
void module_usage() {
int32_t i;
if (!hydra_options.service) {
printf("The Module %s does not need or support optional parameters\n", hydra_options.service);
exit(0);
}
printf("\nHelp for module "
"%s:\n================================================================"