remove dead assignments
[oweals/gnunet.git] / src / transport / plugin_transport_bluetooth.c
index 36c5c8e2ef115022ca5c7b0132856629179e9f10..74fcd36a7c8d11dab0c8573708c27a039693629a 100644 (file)
@@ -694,7 +694,7 @@ session_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
   session->timeout_task = GNUNET_SCHEDULER_NO_TASK;
   timeout = GNUNET_TIME_absolute_get_remaining (session->timeout);
-  if (0 == timeout.rel_value) 
+  if (0 == timeout.rel_value_us
   {
     free_session (session);
     return;
@@ -970,7 +970,7 @@ macendpoint_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
 
   endpoint->timeout_task = GNUNET_SCHEDULER_NO_TASK;
   timeout = GNUNET_TIME_absolute_get_remaining (endpoint->timeout);
-  if (0 == timeout.rel_value) 
+  if (0 == timeout.rel_value_us
   {
     free_macendpoint (endpoint);
     return;
@@ -1211,7 +1211,7 @@ process_data (void *cls, void *client, const struct GNUNET_MessageHeader *hdr)
         bluetooth_plugin_address_to_string (NULL, &mas->endpoint->addr, sizeof (struct WlanAddress)));
 
     GNUNET_STATISTICS_update (plugin->env->stats,
-                             _("# HELLO messages received via WLAN"), 1,
+                             _("# HELLO messages received via Bluetooth"), 1,
                              GNUNET_NO);
     plugin->env->receive (plugin->env->cls, 
                          &tmpsource,
@@ -1304,7 +1304,7 @@ process_data (void *cls, void *client, const struct GNUNET_MessageHeader *hdr)
        GNUNET_CRYPTO_crc32_n (&wlanheader[1], msize - sizeof (struct WlanHeader)))
     {
       GNUNET_STATISTICS_update (plugin->env->stats,
-                               _("# BluetoothDATA messages discarded due to CRC32 error"), 1,
+                               _("# Bluetooth DATA messages discarded due to CRC32 error"), 1,
                                GNUNET_NO);
       break;
     }