krb5: add prototype to silence clang warnings on mvsnprintf()
"error: format string is not a string literal"
Follow-up to 0923012758 which made the warning appear
Assisted-by: Viktor Szakats
Closes #12803
This commit is contained in:
parent
641257ea08
commit
aee4ebe591
@ -434,6 +434,9 @@ static char level_to_char(int level)
|
|||||||
|
|
||||||
/* Send an FTP command defined by |message| and the optional arguments. The
|
/* Send an FTP command defined by |message| and the optional arguments. The
|
||||||
function returns the ftp_code. If an error occurs, -1 is returned. */
|
function returns the ftp_code. If an error occurs, -1 is returned. */
|
||||||
|
static int ftp_send_command(struct Curl_easy *data, const char *message, ...)
|
||||||
|
CURL_PRINTF(2, 3);
|
||||||
|
|
||||||
static int ftp_send_command(struct Curl_easy *data, const char *message, ...)
|
static int ftp_send_command(struct Curl_easy *data, const char *message, ...)
|
||||||
{
|
{
|
||||||
int ftp_code;
|
int ftp_code;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user