From: Daniel Stenberg Date: Tue, 7 Mar 2023 14:19:09 +0000 (+0100) Subject: ftp: make the 'ftpauth' a more normal 'char *'-array X-Git-Tag: curl-8_0_0~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0546ed54c2481b64425d233798d02e646d86e86f;p=thirdparty%2Fcurl.git ftp: make the 'ftpauth' a more normal 'char *'-array Closes #10703 --- 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)