mirror of
https://github.com/mirror/wget.git
synced 2025-01-29 13:50:39 +08:00
* src/ftp.c: Fix -Wformat= warning
This commit is contained in:
parent
5fceab6cb9
commit
11989ef669
@ -561,10 +561,10 @@ Error in server response, closing control connection.\n"));
|
|||||||
logputs (LOG_VERBOSE, "done.");
|
logputs (LOG_VERBOSE, "done.");
|
||||||
|
|
||||||
if (!opt.server_response)
|
if (!opt.server_response)
|
||||||
logprintf (LOG_VERBOSE, " ==> PROT %c ... ", prot);
|
logprintf (LOG_VERBOSE, " ==> PROT %c ... ", (int) prot);
|
||||||
if ((err = ftp_prot (csock, prot)) == FTPNOPROT)
|
if ((err = ftp_prot (csock, prot)) == FTPNOPROT)
|
||||||
{
|
{
|
||||||
logprintf (LOG_NOTQUIET, _("Server did not accept the 'PROT %c' command.\n"), prot);
|
logprintf (LOG_NOTQUIET, _("Server did not accept the 'PROT %c' command.\n"), (int) prot);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
if (!opt.server_response)
|
if (!opt.server_response)
|
||||||
|
Loading…
Reference in New Issue
Block a user