masqmail

diff src/accept.c @ 303:3e3c280ca5b2

replaced header_fold() with a better implementation
author markus schnalke <meillo@marmaro.de>
date Thu, 09 Dec 2010 18:01:46 -0300
parents ca2d11aec2a3
children d5ce2ba71e7b
line diff
     1.1 --- a/src/accept.c	Thu Dec 09 17:50:25 2010 -0300
     1.2 +++ b/src/accept.c	Thu Dec 09 18:01:46 2010 -0300
     1.3 @@ -362,7 +362,7 @@
     1.4  
     1.5  	if (g_list_length(msg->rcpt_list) == 1) {
     1.6  		address *addr = (address *) (g_list_first(msg->rcpt_list)->data);
     1.7 -		for_string = g_strdup_printf("\n\tfor %s", addr_string(addr));
     1.8 +		for_string = g_strdup_printf(" for %s", addr_string(addr));
     1.9  	}
    1.10  
    1.11  	if (!msg->received_host) {
    1.12 @@ -390,7 +390,7 @@
    1.13  		    msg->uid, for_string ? for_string : "", rec_timestamp());
    1.14  #endif
    1.15  	}
    1.16 -	header_fold(hdr);
    1.17 +	header_fold(hdr, 78);
    1.18  	msg->hdr_list = g_list_prepend(msg->hdr_list, hdr);
    1.19  
    1.20  	if (for_string)