- got the wrong interpretation of the pointer;
First mails leave citadel after a successfull DNS-Query!
int timeouts,
struct hostent *hostent)
{
int timeouts,
struct hostent *hostent)
{
- SmtpOutMsg *SendMsg = Ctx;
+ AsyncIO *IO = Ctx;
+ SmtpOutMsg *SendMsg = IO->Data;
if ((status == ARES_SUCCESS) && (hostent != NULL) ) {
SendMsg->IO.HEnt = hostent;
if ((status == ARES_SUCCESS) && (hostent != NULL) ) {
SendMsg->IO.HEnt = hostent;
- InitEventIO(&SendMsg->IO, SendMsg,
+ InitEventIO(IO, SendMsg,
SMTP_C_DispatchReadDone,
SMTP_C_DispatchWriteDone,
SMTP_C_Terminate,
SMTP_C_DispatchReadDone,
SMTP_C_DispatchWriteDone,
SMTP_C_Terminate,