ugh
authorChristian Grothoff <christian@grothoff.org>
Wed, 2 Nov 2011 10:45:35 +0000 (10:45 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 2 Nov 2011 10:45:35 +0000 (10:45 +0000)
src/transport/gnunet-service-transport_neighbours.c
src/transport/transport_api.c

index b3d940bdbeb84831b78d38911a96d8109d0cffcf..0f35afc0cca07c598db437cc67866465563965ec 100644 (file)
@@ -1583,7 +1583,7 @@ GST_neighbours_calculate_receive_delay (const struct GNUNET_PeerIdentity
   struct NeighbourMapEntry *n;
   struct GNUNET_TIME_Relative ret;
 
-  if (NULL != getenv ("infinite-bandwidth"))
+  if (NULL != getenv ("infinitebandwidth"))
     {
       *do_forward = GNUNET_YES;
       return GNUNET_TIME_UNIT_ZERO;
index 67d3d76740bfb41d5e5b50cde209a8aa995c3fcc..894618986c3b188a4d00f36f18bc2da08bb3a455 100644 (file)
@@ -708,7 +708,7 @@ transport_notify_ready (void *cls, size_t size, void *buf)
       memcpy (&cbuf[ret], &obm, sizeof (struct OutboundMessage));
       ret += (mret + sizeof (struct OutboundMessage));
       size -= (mret + sizeof (struct OutboundMessage));
-      if (NULL == getenv ("infinite-bandwidth"))
+      if (NULL == getenv ("infinitebandwidth"))
        GNUNET_BANDWIDTH_tracker_consume (&n->out_tracker, mret);
     }
     GNUNET_free (th);