masqmail

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 diff
     1.1 --- a/src/accept.c	Tue Jun 29 11:34:53 2010 +0200
     1.2 +++ b/src/accept.c	Tue Jun 29 11:40:37 2010 +0200
     1.3 @@ -83,7 +83,7 @@
     1.4  
     1.5  		line1 = line;
     1.6  
     1.7 -		if ((line[0] == '.') && (!(flags & ACC_NODOT_TERM))) {
     1.8 +		if ((line[0] == '.') && (!(flags & ACC_DOT_IGNORE))) {
     1.9  			if (line[1] == '\n') {
    1.10  				g_free(line);
    1.11  				break;
    1.12 @@ -92,7 +92,7 @@
    1.13  		}
    1.14  
    1.15  		if (len <= 0) {
    1.16 -			if ((len == -1) && ((flags & ACC_NODOT_TERM) || (flags & ACC_NODOT_RELAX))) {
    1.17 +			if ((len == -1) && ((flags & ACC_DOT_IGNORE) || (flags & ACC_NODOT_RELAX))) {
    1.18  				/* we got an EOF, and the last line was not terminated by a CR */
    1.19  				gint len1 = strlen(line1);
    1.20  				if (len1 > 0) {  /* == 0 is 'normal' (EOF after a CR) */