Re: [Exim] Possible Bug in exim 3.953

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jochen Erwied
Dátum:  
Címzett: Philip Hazel
CC: exim-users
Tárgy: Re: [Exim] Possible Bug in exim 3.953
Monday, February 25, 2002, 10:18:42 AM, you wrote:

> Well, Exim 3.95x doesn't intend to set a debug flag on any sockets. I


I missed one file where exactly the same happens: smtp_out.c

--- smtp_out.c.orig     Mon Feb 25 13:42:59 2002
+++ smtp_out.c  Mon Feb 25 13:40:57 2002
@@ -175,5 +175,5 @@
 /* Set TCP_NODELAY; Exim does its own buffering. */


-setsockopt(sock, SOL_SOCKET, TCP_NODELAY, (uschar *)(&on), sizeof(on));
+setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (uschar *)(&on), sizeof(on));

/* Bind to a specific interface if requested. Caller must ensure the interface

After applying these two fixes, my debug-messages stopped.

--
mbs GmbH      | http://www.mbs-software.de
Jochen Erwied | mailto:Jochen.Erwied@mbs-software.de
Roemerstr. 15 | phone: +49-2151-7294-0
47809 Krefeld | fax:   +49-2151-7294-50