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/ats/gnunet-service-ats_performance.c | |
parent | 4a0398474db197abed243a123fb971fbeeffab4b (diff) | |
download | gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.tar.gz gnunet-3d7fefedc9ba60bd8e8448efe8b628446d958536.zip |
changing time measurement from milliseconds to microseconds
Diffstat (limited to 'src/ats/gnunet-service-ats_performance.c')
-rw-r--r-- | src/ats/gnunet-service-ats_performance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/gnunet-service-ats_performance.c b/src/ats/gnunet-service-ats_performance.c index 4164e5f0d..f0986959c 100644 --- a/src/ats/gnunet-service-ats_performance.c +++ b/src/ats/gnunet-service-ats_performance.c | |||
@@ -582,7 +582,7 @@ GAS_handle_reservation_request (void *cls, struct GNUNET_SERVER_Client *client, | |||
582 | "RESERVATION_REQUEST"); | 582 | "RESERVATION_REQUEST"); |
583 | amount = (int32_t) ntohl (msg->amount); | 583 | amount = (int32_t) ntohl (msg->amount); |
584 | res_delay = GAS_reservations_reserve (&msg->peer, amount); | 584 | res_delay = GAS_reservations_reserve (&msg->peer, amount); |
585 | if (res_delay.rel_value > 0) | 585 | if (res_delay.rel_value_us > 0) |
586 | amount = 0; | 586 | amount = 0; |
587 | result.header.size = htons (sizeof (struct ReservationResultMessage)); | 587 | result.header.size = htons (sizeof (struct ReservationResultMessage)); |
588 | result.header.type = htons (GNUNET_MESSAGE_TYPE_ATS_RESERVATION_RESULT); | 588 | result.header.type = htons (GNUNET_MESSAGE_TYPE_ATS_RESERVATION_RESULT); |