masqmail
changeset 111:43798acdfbc9
simplified a bit-operation based condition
author | meillo@marmaro.de |
---|---|
date | Tue, 29 Jun 2010 11:42:51 +0200 |
parents | c678d0342451 |
children | c2f1ba43ae0c |
files | src/accept.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/src/accept.c Tue Jun 29 11:40:37 2010 +0200 1.2 +++ b/src/accept.c Tue Jun 29 11:42:51 2010 +0200 1.3 @@ -92,7 +92,7 @@ 1.4 } 1.5 1.6 if (len <= 0) { 1.7 - if ((len == -1) && ((flags & ACC_DOT_IGNORE) || (flags & ACC_NODOT_RELAX))) { 1.8 + if ((len == -1) && (flags & (ACC_DOT_IGNORE | ACC_NODOT_RELAX))) { 1.9 /* we got an EOF, and the last line was not terminated by a CR */ 1.10 gint len1 = strlen(line1); 1.11 if (len1 > 0) { /* == 0 is 'normal' (EOF after a CR) */