aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 5b809a1a..f5cb3b75 100644
--- a/pop3.c
+++ b/pop3.c
@@ -567,7 +567,7 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp)
sprintf(sdps_envto,"To: <%s>",buf);
}
} while
- (buf[0] !='.');
+ (!(buf[0] == '.' && (buf[1] == '\r' || buf[1] == '\n' || buf[1] == '\0')));
}
#endif /* SDPS_ENABLE */