# HG changeset patch # User meillo@marmaro.de # Date 1277804571 -7200 # Node ID 43798acdfbc9adec3d8a369c23a0e66b577c7a7a # Parent c678d0342451a535938a5790b2e4f1fad4927db2 simplified a bit-operation based condition diff -r c678d0342451 -r 43798acdfbc9 src/accept.c --- a/src/accept.c Tue Jun 29 11:40:37 2010 +0200 +++ b/src/accept.c Tue Jun 29 11:42:51 2010 +0200 @@ -92,7 +92,7 @@ } if (len <= 0) { - if ((len == -1) && ((flags & ACC_DOT_IGNORE) || (flags & ACC_NODOT_RELAX))) { + if ((len == -1) && (flags & (ACC_DOT_IGNORE | ACC_NODOT_RELAX))) { /* we got an EOF, and the last line was not terminated by a CR */ gint len1 = strlen(line1); if (len1 > 0) { /* == 0 is 'normal' (EOF after a CR) */