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/nse/nse_api.c | |
parent | 4a0398474db197abed243a123fb971fbeeffab4b (diff) | |
download | gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip |
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/nse/nse_api.c')
-rw-r--r-- | src/nse/nse_api.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/nse/nse_api.c b/src/nse/nse_api.c index 8f4486287..211071c0d 100644 --- a/src/nse/nse_api.c +++ b/src/nse/nse_api.c | |||
@@ -24,14 +24,11 @@ | |||
24 | * @author Nathan Evans | 24 | * @author Nathan Evans |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_client_lib.h" | ||
28 | #include "gnunet_constants.h" | 27 | #include "gnunet_constants.h" |
29 | #include "gnunet_container_lib.h" | ||
30 | #include "gnunet_arm_service.h" | 28 | #include "gnunet_arm_service.h" |
31 | #include "gnunet_hello_lib.h" | 29 | #include "gnunet_hello_lib.h" |
32 | #include "gnunet_protocols.h" | 30 | #include "gnunet_protocols.h" |
33 | #include "gnunet_server_lib.h" | 31 | #include "gnunet_util_lib.h" |
34 | #include "gnunet_time_lib.h" | ||
35 | #include "gnunet_nse_service.h" | 32 | #include "gnunet_nse_service.h" |
36 | #include "nse.h" | 33 | #include "nse.h" |
37 | 34 | ||
@@ -150,8 +147,9 @@ reschedule_connect (struct GNUNET_NSE_Handle *h) | |||
150 | } | 147 | } |
151 | 148 | ||
152 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 149 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
153 | "Scheduling task to reconnect to nse service in %llu ms.\n", | 150 | "Scheduling task to reconnect to nse service in %s.\n", |
154 | h->reconnect_delay.rel_value); | 151 | GNUNET_STRINGS_relative_time_to_string (h->reconnect_delay, |
152 | GNUNET_YES)); | ||
155 | h->reconnect_task = | 153 | h->reconnect_task = |
156 | GNUNET_SCHEDULER_add_delayed (h->reconnect_delay, &reconnect, h); | 154 | GNUNET_SCHEDULER_add_delayed (h->reconnect_delay, &reconnect, h); |
157 | h->reconnect_delay = GNUNET_TIME_STD_BACKOFF (h->reconnect_delay); | 155 | h->reconnect_delay = GNUNET_TIME_STD_BACKOFF (h->reconnect_delay); |