mirror of
https://github.com/curl/curl.git
synced 2026-04-21 22:32:11 +03:00
imap: Added some missing comments to imap_sendf()
This commit is contained in:
parent
059647f398
commit
cbea345f61
1 changed files with 2 additions and 0 deletions
|
|
@ -236,10 +236,12 @@ static CURLcode imap_sendf(struct connectdata *conn, const char *fmt, ...)
|
|||
snprintf(imapc->resptag, sizeof(imapc->resptag), "%c%03d",
|
||||
'A' + (conn->connection_id % 26), imapc->cmdid);
|
||||
|
||||
/* Prefix the format with the tag */
|
||||
taggedfmt = aprintf("%s %s", imapc->resptag, fmt);
|
||||
if(!taggedfmt)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
||||
/* Send the data with the tag */
|
||||
result = Curl_pp_vsendf(&imapc->pp, taggedfmt, ap);
|
||||
|
||||
Curl_safefree(taggedfmt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue