diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-10-17 14:16:38 +0000 |
commit | e1b3d592f43a99f4ed7c91971deda6ce8414dd69 (patch) | |
tree | 38fecdc19b201d4d28df13c22e9b3b45bb469e4b /community/gnunet | |
parent | d286d980d2ff42151e9bc81ec348c864c24f9cc4 (diff) |
Mon Oct 17 14:16:38 UTC 2011
Diffstat (limited to 'community/gnunet')
-rw-r--r-- | community/gnunet/build-fix.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/community/gnunet/build-fix.patch b/community/gnunet/build-fix.patch deleted file mode 100644 index 2ca902fcd..000000000 --- a/community/gnunet/build-fix.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -wbBur gnunet-0.9.0pre2/src/transport/plugin_transport_http.c gnunet-0.9.0pre2.my/src/transport/plugin_transport_http.c ---- gnunet-0.9.0pre2/src/transport/plugin_transport_http.c 2010-12-23 09:37:50.000000000 +0000 -+++ gnunet-0.9.0pre2.my/src/transport/plugin_transport_http.c 2011-03-24 07:59:13.000000000 +0000 -@@ -1077,7 +1077,7 @@ - - conn_info = MHD_get_connection_info(mhd_connection, MHD_CONNECTION_INFO_CLIENT_ADDRESS ); - /* Incoming IPv4 connection */ -- if ( AF_INET == conn_info->client_addr->sin_family) -+ if ( AF_INET == ((struct sockaddr_in*)(conn_info->client_addr))->sin_family) - { - addrin = conn_info->client_addr; - inet_ntop(addrin->sin_family, &(addrin->sin_addr),address,INET_ADDRSTRLEN); -@@ -1087,7 +1087,7 @@ - addr_len = sizeof(struct IPv4HttpAddress); - } - /* Incoming IPv6 connection */ -- if ( AF_INET6 == conn_info->client_addr->sin_family) -+ if ( AF_INET6 == ((struct sockaddr_in6*)(conn_info->client_addr))->sin6_family) - { - addrin6 = (struct sockaddr_in6 *) conn_info->client_addr; - inet_ntop(addrin6->sin6_family, &(addrin6->sin6_addr),address,INET6_ADDRSTRLEN); |