Fix copying of host_used in smtp transport
authorJeremy Harris <jgh146exb@wizmail.org>
Thu, 20 Nov 2014 16:46:48 +0000 (16:46 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Thu, 20 Nov 2014 16:46:48 +0000 (16:46 +0000)
commitd427a7f968a1f966aee3d5b435c228f46f32a987
tree5211146aa064f762cd11b45740110a02ee69c3ae
parentf78ab6406f1843034065590f3ef6ef47863f1e4a
Fix copying of host_used in smtp transport

Following c562f "More regular logging use of H=<name> [<ip>]" there
were error cases where a host-item that was being expanded per-call
was used.  Move the copy earlier so these are covered.
src/src/transports/smtp.c