ftp: make the 'ftpauth' a more normal 'char *'-array

Closes #10703
This commit is contained in:
Daniel Stenberg 2023-03-07 15:19:09 +01:00
parent 372b95f77f
commit 0546ed54c2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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)