From d86503ea82ba4f9ab5c0de74feadac94b7bd9ee8 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 30 Dec 2012 12:46:45 +0000 Subject: [PATCH] imap.c: Minor follow up tidy up --- lib/imap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/imap.c b/lib/imap.c index 684c821a3..4a552bc59 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -331,8 +331,8 @@ static int imap_endofresp(struct pingpong *pp, int *resp) /* Do we have a generic command response? */ if(len >= id_len + 3) { - if(!memcmp(id, line, id_len) && (line[id_len] == ' ') ) { - *resp = line[id_len+1]; /* O, N or B */ + if(!memcmp(id, line, id_len) && line[id_len] == ' ') { + *resp = line[id_len + 1]; /* O, N or B */ return TRUE; } } @@ -602,7 +602,7 @@ static CURLcode imap_state_fetch_resp(struct connectdata *conn, 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) Curl_pgrsSetDownloadSize(data, filesize);