imap.c: Minor follow up tidy up

This commit is contained in:
Steve Holme 2012-12-30 12:46:45 +00:00
parent bd8ae68006
commit d86503ea82

View File

@ -331,7 +331,7 @@ 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] == ' ') ) {
if(!memcmp(id, line, id_len) && line[id_len] == ' ') {
*resp = line[id_len + 1]; /* O, N or B */
return TRUE;
}