diff options
Diffstat (limited to 'src/transport/plugin_transport_bluetooth.c')
-rw-r--r-- | src/transport/plugin_transport_bluetooth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_bluetooth.c b/src/transport/plugin_transport_bluetooth.c index 41500c34e..74fcd36a7 100644 --- a/src/transport/plugin_transport_bluetooth.c +++ b/src/transport/plugin_transport_bluetooth.c | |||
@@ -694,7 +694,7 @@ session_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
694 | 694 | ||
695 | session->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 695 | session->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
696 | timeout = GNUNET_TIME_absolute_get_remaining (session->timeout); | 696 | timeout = GNUNET_TIME_absolute_get_remaining (session->timeout); |
697 | if (0 == timeout.rel_value) | 697 | if (0 == timeout.rel_value_us) |
698 | { | 698 | { |
699 | free_session (session); | 699 | free_session (session); |
700 | return; | 700 | return; |
@@ -970,7 +970,7 @@ macendpoint_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
970 | 970 | ||
971 | endpoint->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 971 | endpoint->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
972 | timeout = GNUNET_TIME_absolute_get_remaining (endpoint->timeout); | 972 | timeout = GNUNET_TIME_absolute_get_remaining (endpoint->timeout); |
973 | if (0 == timeout.rel_value) | 973 | if (0 == timeout.rel_value_us) |
974 | { | 974 | { |
975 | free_macendpoint (endpoint); | 975 | free_macendpoint (endpoint); |
976 | return; | 976 | return; |