diff options
Diffstat (limited to 'debian/patches/0002-Fix-protocol-return-value-when-built-with-TLS.patch')
-rw-r--r-- | debian/patches/0002-Fix-protocol-return-value-when-built-with-TLS.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/debian/patches/0002-Fix-protocol-return-value-when-built-with-TLS.patch b/debian/patches/0002-Fix-protocol-return-value-when-built-with-TLS.patch deleted file mode 100644 index a75b1b4..0000000 --- a/debian/patches/0002-Fix-protocol-return-value-when-built-with-TLS.patch +++ /dev/null @@ -1,27 +0,0 @@ -From: Felix Lechner <felix.lechner@lease-up.com> -Date: Sat, 2 Sep 2017 09:57:43 -0300 -Subject: Fix protocol return value when built with TLS - -When building from source, the protocol test for smtp ('make check') -fails with an unexpected retval (5 vs. 10) when configured with ---enable-tls. The error may occur only when getaddrinfo() is -available. A stray errno survived past a somewhat convoluted series of -conditionals, and should to be cleared before it. - -Forwarded: no ---- - lib/tcpconnect.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/tcpconnect.cc b/lib/tcpconnect.cc -index d4cf9a9..683ff24 100644 ---- a/lib/tcpconnect.cc -+++ b/lib/tcpconnect.cc -@@ -95,6 +95,7 @@ int tcpconnect(const char* hostname, int port, const char* source) - return err; - } - int s = -1; -+ errno = 0; - err = ERR_CONN_FAILED; - struct addrinfo* orig_res = res; - |