From 52281a10aad8937cdaf5ccd0cbf13b54617076de Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Tue, 12 Feb 2013 21:01:50 +0000 Subject: email: Post optimisation of endofresp() tidy up Removed unnecessary end of line check and return. --- lib/imap.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/imap.c') diff --git a/lib/imap.c b/lib/imap.c index c4bddab7a..320101b5d 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -363,9 +363,6 @@ static bool imap_endofresp(struct connectdata *conn, char *line, size_t len, (*line == ' ' || *line == '\t' || *line == '\r' || *line == '\n')) { - if(*line == '\n') - return FALSE; - line++; len--; } -- cgit v1.2.3