lib: use STRCONST() when possible in curlx_strcopy() calls

Follow-up to a535be4ea0

Closes #20335
This commit is contained in:
Daniel Stenberg 2026-01-16 10:36:07 +01:00
parent 493e3d6166
commit af274feabf
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 9 additions and 9 deletions

View file

@ -1966,7 +1966,7 @@ static CURLcode imap_connect(struct Curl_easy *data, bool *done)
imap_state(data, imapc, IMAP_SERVERGREET);
/* Start off with an response id of '*' */
curlx_strcopy(imapc->resptag, sizeof(imapc->resptag), "*", 1);
curlx_strcopy(imapc->resptag, sizeof(imapc->resptag), STRCONST("*"));
result = imap_multi_statemach(data, done);