Mercurial > masqmail-0.2
diff src/accept.c @ 110:c678d0342451
changed name ACC_NODOT_TERM to ACC_DOT_IGNORE for better understanding
this is only a cosmetic change
author | meillo@marmaro.de |
---|---|
date | Tue, 29 Jun 2010 11:40:37 +0200 |
parents | db52c64acaa2 |
children | 43798acdfbc9 |
line wrap: on
line diff
--- a/src/accept.c Tue Jun 29 11:34:53 2010 +0200 +++ b/src/accept.c Tue Jun 29 11:40:37 2010 +0200 @@ -83,7 +83,7 @@ line1 = line; - if ((line[0] == '.') && (!(flags & ACC_NODOT_TERM))) { + if ((line[0] == '.') && (!(flags & ACC_DOT_IGNORE))) { if (line[1] == '\n') { g_free(line); break; @@ -92,7 +92,7 @@ } if (len <= 0) { - if ((len == -1) && ((flags & ACC_NODOT_TERM) || (flags & ACC_NODOT_RELAX))) { + if ((len == -1) && ((flags & ACC_DOT_IGNORE) || (flags & 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) */