masqmail

diff src/deliver.c @ 372:b0708fac99dd

Fixed a problem with psb->remote_host, introduced in changeset 412385b57dc4
author markus schnalke <meillo@marmaro.de>
date Tue, 25 Oct 2011 14:31:28 +0200
parents d86d7b4b8995
children a96bb42f597d
line diff
     1.1 --- a/src/deliver.c	Tue Oct 25 13:51:43 2011 +0200
     1.2 +++ b/src/deliver.c	Tue Oct 25 14:31:28 2011 +0200
     1.3 @@ -368,7 +368,10 @@
     1.4  	}
     1.5  
     1.6  	if (route->wrapper) {
     1.7 -		psb = smtp_out_open_child(route->wrapper, host);
     1.8 +		psb = smtp_out_open_child(route->wrapper);
     1.9 +		if (psb) {
    1.10 +			psb->remote_host = host;
    1.11 +		}
    1.12  	} else {
    1.13  		psb = smtp_out_open(host, port, res_list);
    1.14  	}