]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/ip.c
Add retry option to clamd and spamd. Bug 392
[user/henk/code/exim.git] / src / src / ip.c
index e5945090ae6caf8823ee1f576b577db00c5fcbb7..f6072c2e80019e4df87e34f3d490f956bb8c39b9 100644 (file)
@@ -337,7 +337,8 @@ for (h = &shost; h != NULL; h = h->next)
       {
       if (fd != fd6) close(fd6);
       if (fd != fd4) close(fd4);
-      if (connhost) {
+      if (connhost)
+       {
        h->port = port;
        *connhost = *h;
        connhost->next = NULL;
@@ -421,7 +422,7 @@ Returns:     nothing
 */
 
 void
-ip_keepalive(int sock, uschar *address, BOOL torf)
+ip_keepalive(int sock, const uschar *address, BOOL torf)
 {
 int fodder = 1;
 if (setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE,
@@ -720,3 +721,5 @@ for (i=0; i < dscp_table_size; ++i)
 
 
 /* End of ip.c */
+/* vi: aw ai sw=2
+*/