aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-09 22:53:18 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-09 22:53:18 +0000
commit86d22ff3235817c58e9e1564797e5a2213a45829 (patch)
tree4ad3f79b337641da0e143076c44efdf2c929e6a1 /src/transport
parent9ffbe0b7a13b6f086f1d8bf5c770ed0476fe040d (diff)
downloadgnunet-86d22ff3235817c58e9e1564797e5a2213a45829.tar.gz
gnunet-86d22ff3235817c58e9e1564797e5a2213a45829.zip
fixes
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/Makefile.am4
-rw-r--r--src/transport/plugin_transport_tcp.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 031cfe8b9..216fcb0cd 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -213,9 +213,9 @@ libgnunet_plugin_transport_http_la_LIBADD = \
213libgnunet_plugin_transport_http_la_LDFLAGS = \ 213libgnunet_plugin_transport_http_la_LDFLAGS = \
214 $(GN_LIBMHD) \ 214 $(GN_LIBMHD) \
215 $(GN_PLUGIN_LDFLAGS) 215 $(GN_PLUGIN_LDFLAGS)
216libgnunet_plugin_transport_https_la_CFLAGS = \ 216libgnunet_plugin_transport_http_la_CFLAGS = \
217 $(CFLAGS) 217 $(CFLAGS)
218libgnunet_plugin_transport_https_la_CPPFLAGS = \ 218libgnunet_plugin_transport_http_la_CPPFLAGS = \
219 @LIBCURL_CPPFLAGS@ 219 @LIBCURL_CPPFLAGS@
220 220
221libgnunet_plugin_transport_https_la_SOURCES = \ 221libgnunet_plugin_transport_https_la_SOURCES = \
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index b85c04402..e93985f40 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -536,7 +536,7 @@ nat_port_map_callback (void *cls,
536 { 536 {
537 case AF_INET: 537 case AF_INET:
538 t4.ipv4_addr = ((struct sockaddr_in *) addr)->sin_addr.s_addr; 538 t4.ipv4_addr = ((struct sockaddr_in *) addr)->sin_addr.s_addr;
539 t6.t6_port = ((struct sockaddr_in *) addr)->sin_port; 539 t4.t_port = ((struct sockaddr_in *) addr)->sin_port;
540 arg = &t4; 540 arg = &t4;
541 args = sizeof (t4); 541 args = sizeof (t4);
542 break; 542 break;