fixes
authorChristian Grothoff <christian@grothoff.org>
Thu, 9 Jun 2011 22:53:18 +0000 (22:53 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 9 Jun 2011 22:53:18 +0000 (22:53 +0000)
src/transport/Makefile.am
src/transport/plugin_transport_tcp.c

index 031cfe8b939ed13e3ec198df9b0bbcdee01d1337..216fcb0cd2b6a77353d3228b4baf39c89082b0c2 100644 (file)
@@ -213,9 +213,9 @@ libgnunet_plugin_transport_http_la_LIBADD = \
 libgnunet_plugin_transport_http_la_LDFLAGS = \
  $(GN_LIBMHD) \
  $(GN_PLUGIN_LDFLAGS)
-libgnunet_plugin_transport_https_la_CFLAGS = \
+libgnunet_plugin_transport_http_la_CFLAGS = \
  $(CFLAGS) 
-libgnunet_plugin_transport_https_la_CPPFLAGS = \
+libgnunet_plugin_transport_http_la_CPPFLAGS = \
  @LIBCURL_CPPFLAGS@
 
 libgnunet_plugin_transport_https_la_SOURCES = \
index b85c0440291e366c4d4e62c0fa62e037daa8ff5f..e93985f40d5448a9cd32be5f1dd31b748384d96d 100644 (file)
@@ -536,7 +536,7 @@ nat_port_map_callback (void *cls,
     {
     case AF_INET:
       t4.ipv4_addr = ((struct sockaddr_in *) addr)->sin_addr.s_addr;
-      t6.t6_port = ((struct sockaddr_in *) addr)->sin_port;
+      t4.t_port = ((struct sockaddr_in *) addr)->sin_port;
       arg = &t4;
       args = sizeof (t4);
       break;