masqmail

changeset 235:92063f90f9be

removed additional new lines at the end of debug messages the strings printed to the end of the line contain a new line already
author markus schnalke <meillo@marmaro.de>
date Fri, 22 Oct 2010 11:09:57 -0300
parents 4b40be6f1cbd
children 5a0e8ed56c2a
files src/header.c src/spool.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/src/header.c	Fri Oct 22 11:06:09 2010 -0300
     1.2 +++ b/src/header.c	Fri Oct 22 11:09:57 2010 -0300
     1.3 @@ -267,7 +267,7 @@
     1.4  	hdr->header = g_strdup(line);
     1.5  	hdr->value = hdr->header + (hdr->value - line);
     1.6  
     1.7 -	DEBUG(4) debugf("header: %d = %s\n", hdr->id, hdr->header);
     1.8 +	DEBUG(4) debugf("header: %d = %s", hdr->id, hdr->header);
     1.9  
    1.10  	return hdr;
    1.11  }
     2.1 --- a/src/spool.c	Fri Oct 22 11:06:09 2010 -0300
     2.2 +++ b/src/spool.c	Fri Oct 22 11:09:57 2010 -0300
     2.3 @@ -146,7 +146,7 @@
     2.4  			break;
     2.5  		} else if (strncasecmp(buf, "MF:", 3) == 0) {
     2.6  			msg->return_path = create_address(&(buf[3]), TRUE);
     2.7 -			DEBUG(3) debugf("spool_read: MAIL FROM: %s\n", msg->return_path->address);
     2.8 +			DEBUG(3) debugf("spool_read: MAIL FROM: %s", msg->return_path->address);
     2.9  		} else if (strncasecmp(buf, "RT:", 3) == 0) {
    2.10  			address *addr;
    2.11  			addr = spool_scan_rcpt(buf);