mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
mail/dovecot: stop spamming the log with EINVAL.
PR: 239172 Submitted by: zillion1@o2.pl Obtained from: dovecot mailing list.
This commit is contained in:
parent
749ad53216
commit
a9892b4b7b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506487
2 changed files with 12 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= dovecot
|
||||
PORTVERSION= 2.3.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= https://dovecot.org/releases/2.3/
|
||||
|
||||
|
|
11
mail/dovecot/files/patch-src_lib_ostream-file.c
Normal file
11
mail/dovecot/files/patch-src_lib_ostream-file.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/lib/ostream-file.c.orig 2019-07-12 19:18:41 UTC
|
||||
+++ src/lib/ostream-file.c
|
||||
@@ -334,7 +334,7 @@ static void o_stream_tcp_flush_via_nodelay(struct file
|
||||
{
|
||||
if (net_set_tcp_nodelay(fstream->fd, TRUE) < 0) {
|
||||
if (errno != ENOTSUP && errno != ENOTSOCK &&
|
||||
- errno != ENOPROTOOPT) {
|
||||
+ errno != ENOPROTOOPT && errno != EINVAL) {
|
||||
i_error("file_ostream.net_set_tcp_nodelay(%s, TRUE) failed: %m",
|
||||
o_stream_get_name(&fstream->ostream.ostream));
|
||||
}
|
Loading…
Add table
Reference in a new issue