mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:21:41 +03:00
lib: use STRCONST() when possible in curlx_strcopy() calls
Follow-up to a535be4ea0
Closes #20335
This commit is contained in:
parent
493e3d6166
commit
af274feabf
5 changed files with 9 additions and 9 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue