diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-03-07 15:19:09 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-03-08 15:32:16 +0100 |
commit | 0546ed54c2481b64425d233798d02e646d86e86f (patch) | |
tree | b1a395e14d83970a6ab7cf9f8862a210a4cc99fc /lib | |
parent | 372b95f77f08ae7a64a5bca53cfb342ec5a8adc9 (diff) | |
download | curl-0546ed54c2481b64425d233798d02e646d86e86f.tar.gz |
ftp: make the 'ftpauth' a more normal 'char *'-array
Closes #10703
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |