From 0546ed54c2481b64425d233798d02e646d86e86f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 7 Mar 2023 15:19:09 +0100 Subject: [PATCH] ftp: make the 'ftpauth' a more normal 'char *'-array Closes #10703 --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ftp.c b/lib/ftp.c index 163262f1af..60f4b427ad 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -2675,7 +2675,7 @@ static CURLcode ftp_statemachine(struct Curl_easy *data, int ftpcode; struct ftp_conn *ftpc = &conn->proto.ftpc; struct pingpong *pp = &ftpc->pp; - static const char ftpauth[][4] = { "SSL", "TLS" }; + static const char * const ftpauth[] = { "SSL", "TLS" }; size_t nread = 0; if(pp->sendleft) -- 2.47.3