Skip to content

Commit

Permalink
imap.c: Minor follow up tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
captain-caveman2k committed Dec 30, 2012
1 parent bd8ae68 commit d86503e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/imap.c
Expand Up @@ -331,8 +331,8 @@ static int imap_endofresp(struct pingpong *pp, int *resp)


/* Do we have a generic command response? */ /* Do we have a generic command response? */
if(len >= id_len + 3) { if(len >= id_len + 3) {
if(!memcmp(id, line, id_len) && (line[id_len] == ' ') ) { if(!memcmp(id, line, id_len) && line[id_len] == ' ') {
*resp = line[id_len+1]; /* O, N or B */ *resp = line[id_len + 1]; /* O, N or B */
return TRUE; return TRUE;
} }
} }
Expand Down Expand Up @@ -602,7 +602,7 @@ static CURLcode imap_state_fetch_resp(struct connectdata *conn,
ptr++; ptr++;


if(*ptr == '{') { if(*ptr == '{') {
curl_off_t filesize = curlx_strtoofft(ptr+1, NULL, 10); curl_off_t filesize = curlx_strtoofft(ptr + 1, NULL, 10);
if(filesize) if(filesize)
Curl_pgrsSetDownloadSize(data, filesize); Curl_pgrsSetDownloadSize(data, filesize);


Expand Down

0 comments on commit d86503e

Please sign in to comment.