summaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-03-07 15:19:09 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-03-08 15:32:16 +0100
commit0546ed54c2481b64425d233798d02e646d86e86f (patch)
treeb1a395e14d83970a6ab7cf9f8862a210a4cc99fc /lib/ftp.c
parent372b95f77f08ae7a64a5bca53cfb342ec5a8adc9 (diff)
downloadcurl-0546ed54c2481b64425d233798d02e646d86e86f.tar.gz
ftp: make the 'ftpauth' a more normal 'char *'-array
Closes #10703
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 163262f1a..60f4b427a 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)