]>
Commit | Line | Data |
---|---|---|
ec033689 JK |
1 | diff -dur postfix-2.0.18.orig/src/global/own_inet_addr.c postfix-2.0.18/src/global/own_inet_addr.c |
2 | --- postfix-2.0.18.orig/src/global/own_inet_addr.c 2004-01-28 11:07:44.000000000 +0100 | |
3 | +++ postfix-2.0.18/src/global/own_inet_addr.c 2004-01-28 11:14:03.716149332 +0100 | |
4 | @@ -222,6 +222,7 @@ | |
5 | } | |
6 | return (0); | |
7 | } | |
8 | + return (0); | |
9 | } | |
10 | #else | |
11 | int own_inet_addr(struct in_addr * addr) | |
12 | Only in postfix-2.0.18/src/global: own_inet_addr.c~ | |
13 | diff -dur postfix-2.0.18.orig/src/util/inet_addr_host.c postfix-2.0.18/src/util/inet_addr_host.c | |
14 | --- postfix-2.0.18.orig/src/util/inet_addr_host.c 2004-01-28 11:07:44.000000000 +0100 | |
15 | +++ postfix-2.0.18/src/util/inet_addr_host.c 2004-01-28 11:09:26.552032456 +0100 | |
16 | @@ -42,6 +42,7 @@ | |
17 | #include <netdb.h> | |
18 | #include <stdlib.h> | |
19 | #include <string.h> | |
20 | +#include <unistd.h> | |
21 | ||
22 | #ifndef INADDR_NONE | |
23 | #define INADDR_NONE 0xffffffff | |
24 | @@ -52,9 +53,7 @@ | |
25 | #include <mymalloc.h> | |
26 | #include <inet_addr_list.h> | |
27 | #include <inet_addr_host.h> | |
28 | -#ifdef TEST | |
29 | #include <msg.h> | |
30 | -#endif | |
31 | ||
32 | /* inet_addr_host - look up address list for host */ | |
33 | ||
34 | Only in postfix-2.0.18/src/util: inet_addr_host.c~ | |
35 | diff -dur postfix-2.0.18.orig/src/util/inet_addr_local.c postfix-2.0.18/src/util/inet_addr_local.c | |
36 | --- postfix-2.0.18.orig/src/util/inet_addr_local.c 2004-01-28 11:07:44.000000000 +0100 | |
37 | +++ postfix-2.0.18/src/util/inet_addr_local.c 2004-01-28 11:11:21.933189546 +0100 | |
38 | @@ -454,7 +454,7 @@ | |
39 | htonl(~((1 << rest) - 1)); | |
40 | break; | |
41 | } | |
42 | - inet_addr_list_append(mask_list, &mask); | |
43 | + inet_addr_list_append(mask_list, (struct sockaddr *)&mask); | |
44 | } | |
45 | freeaddrinfo(res0); | |
46 | } | |
47 | Only in postfix-2.0.18/src/util: inet_addr_local.c~ |