diff options
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); |