diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 11:41:46 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-27 11:41:46 +0000 |
commit | abcc76b4f868ce6e8e8ff4b058c800ad1119474a (patch) | |
tree | 75da9807f86c1ba6deba9cf0ff8313b1f241e4f3 /src/core | |
parent | 666e63629635d497f469a14a5109575c5e38cf01 (diff) | |
download | gnunet-abcc76b4f868ce6e8e8ff4b058c800ad1119474a.tar.gz gnunet-abcc76b4f868ce6e8e8ff4b058c800ad1119474a.zip |
Changed struct GNUNET_TIME_RelativeNBO
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gnunet-service-core.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c index 16200c822..4ab371a39 100644 --- a/src/core/gnunet-service-core.c +++ b/src/core/gnunet-service-core.c | |||
@@ -2173,7 +2173,7 @@ process_plaintext_neighbour_queue (struct Neighbour *n) | |||
2173 | #if DEBUG_CORE_QUOTA | 2173 | #if DEBUG_CORE_QUOTA |
2174 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2174 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2175 | "Sending %u b/s as new limit to peer `%4s'\n", | 2175 | "Sending %u b/s as new limit to peer `%4s'\n", |
2176 | (unsigned int) ntohl (n->bw_in.value__), | 2176 | (unsigned int) ntohl (n->bw_in.rel_value__), |
2177 | GNUNET_i2s (&n->peer)); | 2177 | GNUNET_i2s (&n->peer)); |
2178 | #endif | 2178 | #endif |
2179 | ph->iv_seed = htonl (GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_NONCE, UINT32_MAX)); | 2179 | ph->iv_seed = htonl (GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_NONCE, UINT32_MAX)); |
@@ -3536,7 +3536,7 @@ handle_encrypted_message (struct Neighbour *n, | |||
3536 | #if DEBUG_CORE_SET_QUOTA | 3536 | #if DEBUG_CORE_SET_QUOTA |
3537 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 3537 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
3538 | "Received %u b/s as new inbound limit for peer `%4s'\n", | 3538 | "Received %u b/s as new inbound limit for peer `%4s'\n", |
3539 | (unsigned int) ntohl (pt->inbound_bw_limit.value__), | 3539 | (unsigned int) ntohl (pt->inbound_bw_limit.rel_value__), |
3540 | GNUNET_i2s (&n->peer)); | 3540 | GNUNET_i2s (&n->peer)); |
3541 | #endif | 3541 | #endif |
3542 | n->bw_out_external_limit = pt->inbound_bw_limit; | 3542 | n->bw_out_external_limit = pt->inbound_bw_limit; |
@@ -3779,11 +3779,11 @@ neighbour_quota_update (void *cls, | |||
3779 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 3779 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
3780 | "Current quota for `%4s' is %u/%llu b/s in (old: %u b/s) / %u out (%u internal)\n", | 3780 | "Current quota for `%4s' is %u/%llu b/s in (old: %u b/s) / %u out (%u internal)\n", |
3781 | GNUNET_i2s (&n->peer), | 3781 | GNUNET_i2s (&n->peer), |
3782 | (unsigned int) ntohl (q_in.value__), | 3782 | (unsigned int) ntohl (q_in.rel_value__), |
3783 | bandwidth_target_out_bps, | 3783 | bandwidth_target_out_bps, |
3784 | (unsigned int) ntohl (n->bw_in.value__), | 3784 | (unsigned int) ntohl (n->bw_in.rel_value__), |
3785 | (unsigned int) ntohl (n->bw_out.value__), | 3785 | (unsigned int) ntohl (n->bw_out.rel_value__), |
3786 | (unsigned int) ntohl (n->bw_out_internal_limit.value__)); | 3786 | (unsigned int) ntohl (n->bw_out_internal_limit.rel_value__)); |
3787 | #endif | 3787 | #endif |
3788 | if (n->bw_in.value__ != q_in.value__) | 3788 | if (n->bw_in.value__ != q_in.value__) |
3789 | { | 3789 | { |