Mercurial > hg > mlmmj
changeset 506:e5cf8bcd161c
Make check correct
author | mmj |
---|---|
date | Thu, 12 May 2005 17:18:40 +1000 |
parents | d1397c9f7d30 |
children | 32f9a86b90a3 |
files | src/checkwait_smtpreply.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/checkwait_smtpreply.c Thu May 12 17:14:33 2005 +1000 +++ b/src/checkwait_smtpreply.c Thu May 12 17:18:40 2005 +1000 @@ -43,7 +43,7 @@ do { len += read(sockfd, (smtpreply+len), RFC_REPLY_SIZE - len); - } while(smtpreply[len - 1] != '\n'); + } while(smtpreply[len - 1] != '\n' && len <= RFC_REPLY_SIZE); smtpreply[len] = '\0'; #if 0