Mercurial > masqmail
comparison 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 |
comparison
equal
deleted
inserted
replaced
371:f122535c589e | 372:b0708fac99dd |
---|---|
366 host = route->mail_host->address; | 366 host = route->mail_host->address; |
367 port = route->mail_host->port; | 367 port = route->mail_host->port; |
368 } | 368 } |
369 | 369 |
370 if (route->wrapper) { | 370 if (route->wrapper) { |
371 psb = smtp_out_open_child(route->wrapper, host); | 371 psb = smtp_out_open_child(route->wrapper); |
372 if (psb) { | |
373 psb->remote_host = host; | |
374 } | |
372 } else { | 375 } else { |
373 psb = smtp_out_open(host, port, res_list); | 376 psb = smtp_out_open(host, port, res_list); |
374 } | 377 } |
375 | 378 |
376 if (!psb) { | 379 if (!psb) { |