From 67414f255b1ee22f17d797e8ecfbc69d32b4937f Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Tue, 27 Sep 2011 13:30:40 +0000 Subject: remove limited address reporting --- src/transport/plugin_transport_http.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/transport/plugin_transport_http.c') diff --git a/src/transport/plugin_transport_http.c b/src/transport/plugin_transport_http.c index ca55d1d1d..bafc7f15b 100644 --- a/src/transport/plugin_transport_http.c +++ b/src/transport/plugin_transport_http.c @@ -422,10 +422,8 @@ create_session (struct Plugin *plugin, const struct GNUNET_PeerIdentity *target, s->addr = GNUNET_malloc (addrlen); memcpy (s->addr, addr, addrlen); s->addrlen = addrlen; - s->transmit_cont = cont; - s->transmit_cont_cls = cont_cls; s->next = NULL; - s->next_receive = GNUNET_TIME_absolute_get_forever(); + s->next_receive = GNUNET_TIME_absolute_get_zero(); return s; } @@ -762,7 +760,7 @@ nat_port_map_callback (void *cls, int add_remove, const struct sockaddr *addr, #if DEBUG_HTTP struct Plugin *plugin = cls; #endif - static int limit; + //static int limit; #if DEBUG_HTTP GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, "NPMC called %s to address `%s'\n", @@ -774,9 +772,9 @@ nat_port_map_callback (void *cls, int add_remove, const struct sockaddr *addr, { case GNUNET_YES: // FIXME DEBUGGING - if (limit < 1) + //if (limit < 1) nat_add_address (cls, add_remove, addr, addrlen); - limit++; + //limit++; // FIXME END break; case GNUNET_NO: -- cgit v1.2.3