diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2023-02-15 06:48:40 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2023-02-15 06:48:40 +0000 |
commit | 1e8f2fb060fd95cb87b392d29919da2e7cf283ee (patch) | |
tree | 8701b028c80c0509ec407423e1ed2de9cbf7dda9 /mail/exim/files | |
parent | 5abfedffc39c37b6755a01dea6585e6c3e46adac (diff) | |
download | ports-1e8f2fb060fd95cb87b392d29919da2e7cf283ee.tar.gz ports-1e8f2fb060fd95cb87b392d29919da2e7cf283ee.zip |
mail/exim: actually fix the bug in code (+)
The comment prior to smtp_printf() implementation says that the
extra BOOL argument tells whether "further is data expected".
Looking at other invocations of it, including those
for error 451, it should be FALSE here.
Diffstat (limited to 'mail/exim/files')
-rw-r--r-- | mail/exim/files/extra-patch-Local-sa-exim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/exim/files/extra-patch-Local-sa-exim.c b/mail/exim/files/extra-patch-Local-sa-exim.c index 103027b1f44d..b3343e3c5e26 100644 --- a/mail/exim/files/extra-patch-Local-sa-exim.c +++ b/mail/exim/files/extra-patch-Local-sa-exim.c @@ -193,7 +193,7 @@ - str=string_sprintf(string_sprintf("451- %s\r\n",SAmsgteergrubewait), spamstatus); - fprintf(smtp_out, str); - ret=fflush(smtp_out); -+ smtp_printf("451-%s\r\n", teergrubewaitstr); ++ smtp_printf("451-%s\r\n", FALSE, teergrubewaitstr); + ret=smtp_fflush(); if (ret != 0) { |