comparison src/spool.c @ 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 3708b655a371
children 5a0e8ed56c2a
comparison
equal deleted inserted replaced
234:4b40be6f1cbd 235:92063f90f9be
144 while ((len = read_line(in, buf, MAX_DATALINE)) > 0) { 144 while ((len = read_line(in, buf, MAX_DATALINE)) > 0) {
145 if (buf[0] == '\n') { 145 if (buf[0] == '\n') {
146 break; 146 break;
147 } else if (strncasecmp(buf, "MF:", 3) == 0) { 147 } else if (strncasecmp(buf, "MF:", 3) == 0) {
148 msg->return_path = create_address(&(buf[3]), TRUE); 148 msg->return_path = create_address(&(buf[3]), TRUE);
149 DEBUG(3) debugf("spool_read: MAIL FROM: %s\n", msg->return_path->address); 149 DEBUG(3) debugf("spool_read: MAIL FROM: %s", msg->return_path->address);
150 } else if (strncasecmp(buf, "RT:", 3) == 0) { 150 } else if (strncasecmp(buf, "RT:", 3) == 0) {
151 address *addr; 151 address *addr;
152 addr = spool_scan_rcpt(buf); 152 addr = spool_scan_rcpt(buf);
153 if (addr_is_delivered(addr) || addr_is_failed(addr)) { 153 if (addr_is_delivered(addr) || addr_is_failed(addr)) {
154 msg->non_rcpt_list = g_list_append(msg->non_rcpt_list, addr); 154 msg->non_rcpt_list = g_list_append(msg->non_rcpt_list, addr);