resolve compiler warnings identified by gcc 9.3.0

This commit is contained in:
Karim Kanso 2020-11-12 15:27:08 +00:00
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)