From 97cbaafeadd9f6fb09ed7a79ad0b1ac9f0628ee2 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Wed, 15 May 2002 13:13:17 +0000 Subject: [PATCH] - Accommodate API changes to Ack(). --- win32/imap_sendmail.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/win32/imap_sendmail.c b/win32/imap_sendmail.c index 60647be3d9..c7fc65a074 100644 --- a/win32/imap_sendmail.c +++ b/win32/imap_sendmail.c @@ -140,13 +140,13 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he if ((res = Post(Buffer)) != SUCCESS) return (res); } - if ((res = Ack()) != SUCCESS) + if ((res = Ack(NULL)) != SUCCESS) return (res); sprintf(Buffer, "MAIL FROM:<%s>\r\n", RPath); if ((res = Post(Buffer)) != SUCCESS) return (res); - if ((res = Ack()) != SUCCESS) + if ((res = Ack(NULL)) != SUCCESS) return (res); // Send mail to all rcpt's @@ -160,7 +160,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he sprintf(Buffer, "RCPT TO:<%s@%s>\r\n", addr->mailbox, addr->host); if ((res = Post(Buffer)) != SUCCESS) return (res); - if ((res = Ack()) != SUCCESS) + if ((res = Ack(NULL)) != SUCCESS) return (res); } addr = addr->next; @@ -179,7 +179,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he sprintf(Buffer, "RCPT TO:<%s@%s>\r\n", addr->mailbox, addr->host); if ((res = Post(Buffer)) != SUCCESS) return (res); - if ((res = Ack()) != SUCCESS) + if ((res = Ack(NULL)) != SUCCESS) return (res); } addr = addr->next; @@ -198,7 +198,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he sprintf(Buffer, "RCPT TO:<%s@%s>\r\n", addr->mailbox, addr->host); if ((res = Post(Buffer)) != SUCCESS) return (res); - if ((res = Ack()) != SUCCESS) + if ((res = Ack(NULL)) != SUCCESS) return (res); } addr = addr->next; @@ -208,7 +208,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he if ((res = Post("DATA\r\n")) != SUCCESS) return (res); - if ((res = Ack()) != SUCCESS) + if ((res = Ack(NULL)) != SUCCESS) return (res); @@ -249,7 +249,7 @@ int imap_SendText(char *RPath, char *Subject, char *mailTo, char *data, char *he /*send termination dot */ if ((res = Post("\r\n.\r\n")) != SUCCESS) return (res); - if ((res = Ack()) != SUCCESS) + if ((res = Ack(NULL)) != SUCCESS) return (res); return (SUCCESS); -- 2.50.1