X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9904d08c64b30f68766a9c6fa12c889cf1f25d34..5903c6ff59527362e869fedb565c56935ce8dd68:/src/src/ip.c diff --git a/src/src/ip.c b/src/src/ip.c index 18a60d5f8..09b4c439e 100644 --- a/src/src/ip.c +++ b/src/src/ip.c @@ -457,7 +457,7 @@ ip_keepalive(int sock, const uschar *address, BOOL torf) { int fodder = 1; if (setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, - (uschar *)(&fodder), sizeof(fodder)) != 0) + US (&fodder), sizeof(fodder)) != 0) log_write(0, LOG_MAIN, "setsockopt(SO_KEEPALIVE) on connection %s %s " "failed: %s", torf? "to":"from", address, strerror(errno)); }