aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/imap.c3
-rw-r--r--lib/pop3.c3
-rw-r--r--lib/smtp.c3
3 files changed, 0 insertions, 9 deletions
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--;
}
diff --git a/lib/pop3.c b/lib/pop3.c
index 263d8703a..3fbe14e61 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -293,9 +293,6 @@ static bool pop3_endofresp(struct connectdata *conn, char *line, size_t len,
(*line == ' ' || *line == '\t' ||
*line == '\r' || *line == '\n')) {
- if(*line == '\n')
- return FALSE;
-
line++;
len--;
}
diff --git a/lib/smtp.c b/lib/smtp.c
index 68dbf9a26..456d986aa 100644
--- a/lib/smtp.c
+++ b/lib/smtp.c
@@ -254,9 +254,6 @@ static bool smtp_endofresp(struct connectdata *conn, char *line, size_t len,
(*line == ' ' || *line == '\t' ||
*line == '\r' || *line == '\n')) {
- if(*line == '\n')
- return FALSE;
-
line++;
len--;
}