1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

imap: Corrected comment in imap_endofresp()

This commit is contained in:
Jiri Hruska 2013-02-24 12:21:53 +01:00 committed by Steve Holme
parent e87a3ccc62
commit 324b7fe47b

View File

@ -334,7 +334,7 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len,
size_t id_len = strlen(id);
size_t wordlen;
/* Do we have a command response? */
/* Do we have a tagged 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 */