diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-11 21:21:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-11 21:21:56 +0000 |
commit | 3d7fefedc9ba60bd8e8448efe8b628446d958536 (patch) | |
tree | 61ce41a52cd6e7232cead77818ef265993b2427e /src/transport/plugin_transport_wlan.c | |
parent | 4a0398474db197abed243a123fb971fbeeffab4b (diff) | |
download | gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip |
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index a376a2642..42ed771f4 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -692,7 +692,7 @@ session_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
692 | 692 | ||
693 | session->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 693 | session->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
694 | timeout = GNUNET_TIME_absolute_get_remaining (session->timeout); | 694 | timeout = GNUNET_TIME_absolute_get_remaining (session->timeout); |
695 | if (0 == timeout.rel_value) | 695 | if (0 == timeout.rel_value_us) |
696 | { | 696 | { |
697 | free_session (session); | 697 | free_session (session); |
698 | return; | 698 | return; |
@@ -1003,7 +1003,7 @@ macendpoint_timeout (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
1003 | 1003 | ||
1004 | endpoint->timeout_task = GNUNET_SCHEDULER_NO_TASK; | 1004 | endpoint->timeout_task = GNUNET_SCHEDULER_NO_TASK; |
1005 | timeout = GNUNET_TIME_absolute_get_remaining (endpoint->timeout); | 1005 | timeout = GNUNET_TIME_absolute_get_remaining (endpoint->timeout); |
1006 | if (0 == timeout.rel_value) | 1006 | if (0 == timeout.rel_value_us) |
1007 | { | 1007 | { |
1008 | free_macendpoint (endpoint); | 1008 | free_macendpoint (endpoint); |
1009 | return; | 1009 | return; |