avoid more const

This commit is contained in:
Daniel Stenberg 2025-10-12 00:07:34 +02:00
parent 2097ab37b2
commit 96a3902cd7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -461,8 +461,9 @@ static CURLcode oldap_perform_mechs(struct Curl_easy *data)
struct ldapconninfo *li =
Curl_conn_meta_get(data->conn, CURL_META_LDAP_CONN);
int rc;
char *supportedSASLMechanisms[] = {
"supportedSASLMechanisms",
char name[]="supportedSASLMechanisms";
char *supportedSASLMechanisms[2] = {
name,
NULL
};