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 (2010-10-22)
parents 4b40be6f1cbd
children 5a0e8ed56c2a
files src/header.c src/spool.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/header.c	Fri Oct 22 11:06:09 2010 -0300
+++ b/src/header.c	Fri Oct 22 11:09:57 2010 -0300
@@ -267,7 +267,7 @@
 	hdr->header = g_strdup(line);
 	hdr->value = hdr->header + (hdr->value - line);
 
-	DEBUG(4) debugf("header: %d = %s\n", hdr->id, hdr->header);
+	DEBUG(4) debugf("header: %d = %s", hdr->id, hdr->header);
 
 	return hdr;
 }
--- a/src/spool.c	Fri Oct 22 11:06:09 2010 -0300
+++ b/src/spool.c	Fri Oct 22 11:09:57 2010 -0300
@@ -146,7 +146,7 @@
 			break;
 		} else if (strncasecmp(buf, "MF:", 3) == 0) {
 			msg->return_path = create_address(&(buf[3]), TRUE);
-			DEBUG(3) debugf("spool_read: MAIL FROM: %s\n", msg->return_path->address);
+			DEBUG(3) debugf("spool_read: MAIL FROM: %s", msg->return_path->address);
 		} else if (strncasecmp(buf, "RT:", 3) == 0) {
 			address *addr;
 			addr = spool_scan_rcpt(buf);