diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-03-10 12:47:28 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-03-10 12:47:28 +0000 |
commit | cbea345f612e2c0e2a734bd52b002eb7c93bf0cc (patch) | |
tree | 8e18afa55b2895f7072b7517e7560f084987acb9 /lib | |
parent | 059647f398b7b83e291909ce9d56dd9ecf9011de (diff) |
imap: Added some missing comments to imap_sendf()
Diffstat (limited to 'lib')
-rw-r--r-- | lib/imap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/imap.c b/lib/imap.c index 668ef9f7b..803c65366 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -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); |