X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fsmtp_out.c;h=530fcfec75687954629ba0d9471820191e290bc9;hb=ac6652c8a0ac69fc0f46d7f8535aa537cd609c94;hp=4920b737129ffbe2cdf3a6e3a5938fb1cab7b747;hpb=a7538db17824b7fd70c12ef7561a67b85d6f247e;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/smtp_out.c b/src/src/smtp_out.c index 4920b7371..530fcfec7 100644 --- a/src/src/smtp_out.c +++ b/src/src/smtp_out.c @@ -165,7 +165,7 @@ Arguments: timeout timeout value or 0 keepalive TRUE to use keepalive dscp DSCP value to assign to socket - tpda_event event expansion + event event expansion Returns: connected socket number, or -1 with errno set */ @@ -173,8 +173,8 @@ Returns: connected socket number, or -1 with errno set int smtp_connect(host_item *host, int host_af, int port, uschar *interface, int timeout, BOOL keepalive, const uschar *dscp -#ifdef EXPERIMENTAL_TPDA - , uschar * tpda_event +#ifdef EXPERIMENTAL_EVENT + , uschar * event #endif ) { @@ -203,11 +203,11 @@ HDEBUG(D_transport|D_acl|D_v) host->address, port, interface); } -#ifdef EXPERIMENTAL_TPDA - /*XXX Called from both delivery and verify. Is that status observable? */ +#ifdef EXPERIMENTAL_EVENT deliver_host_address = host->address; deliver_host_port = port; - if (tpda_raise_event(tpda_event, US"tcp:connect", NULL) == DEFER) return -1; + if (event_raise(event, US"tcp:connect", NULL)) return -1; + /* Logging? Debug? */ #endif /* Create the socket */