diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-16 14:12:13 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-09-16 14:12:13 +0000 |
commit | 8490877bb03b550e43811c2528d15faf26b120f0 (patch) | |
tree | 0d671054bd790e1f39d89908f1adfc7ae3111384 /src/ats/gnunet-service-ats_addresses.c | |
parent | 14c6ca2da3e3235881f22d0c5e1e4effc71ab9a3 (diff) | |
download | gnunet-8490877bb03b550e43811c2528d15faf26b120f0.tar.gz gnunet-8490877bb03b550e43811c2528d15faf26b120f0.zip |
indent: tab to spaces
Diffstat (limited to 'src/ats/gnunet-service-ats_addresses.c')
-rw-r--r-- | src/ats/gnunet-service-ats_addresses.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/ats/gnunet-service-ats_addresses.c b/src/ats/gnunet-service-ats_addresses.c index 8497b8d6b..6897f858c 100644 --- a/src/ats/gnunet-service-ats_addresses.c +++ b/src/ats/gnunet-service-ats_addresses.c | |||
@@ -1533,16 +1533,16 @@ GAS_addresses_change_preference (struct GAS_Addresses_Handle *handle, | |||
1533 | */ | 1533 | */ |
1534 | void | 1534 | void |
1535 | GAS_addresses_preference_feedback (struct GAS_Addresses_Handle *handle, | 1535 | GAS_addresses_preference_feedback (struct GAS_Addresses_Handle *handle, |
1536 | void *application, | 1536 | void *application, |
1537 | const struct GNUNET_PeerIdentity *peer, | 1537 | const struct GNUNET_PeerIdentity *peer, |
1538 | const struct GNUNET_TIME_Relative scope, | 1538 | const struct GNUNET_TIME_Relative scope, |
1539 | enum GNUNET_ATS_PreferenceKind kind, | 1539 | enum GNUNET_ATS_PreferenceKind kind, |
1540 | float score_abs) | 1540 | float score_abs) |
1541 | { | 1541 | { |
1542 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1542 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1543 | "Received `%s' for peer `%s' for client %p\n", | 1543 | "Received `%s' for peer `%s' for client %p\n", |
1544 | "PREFERENCE FEEDBACK", | 1544 | "PREFERENCE FEEDBACK", |
1545 | GNUNET_i2s (peer), application); | 1545 | GNUNET_i2s (peer), application); |
1546 | 1546 | ||
1547 | if (GNUNET_NO == handle->running) | 1547 | if (GNUNET_NO == handle->running) |
1548 | return; | 1548 | return; |
@@ -1550,11 +1550,11 @@ GAS_addresses_preference_feedback (struct GAS_Addresses_Handle *handle, | |||
1550 | if (GNUNET_NO == GNUNET_CONTAINER_multihashmap_contains (handle->addresses, | 1550 | if (GNUNET_NO == GNUNET_CONTAINER_multihashmap_contains (handle->addresses, |
1551 | &peer->hashPubKey)) | 1551 | &peer->hashPubKey)) |
1552 | { | 1552 | { |
1553 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1553 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1554 | "Received `%s' for unknown peer `%s' from client %p\n", | 1554 | "Received `%s' for unknown peer `%s' from client %p\n", |
1555 | "PREFERENCE FEEDBACK", | 1555 | "PREFERENCE FEEDBACK", |
1556 | GNUNET_i2s (peer), application); | 1556 | GNUNET_i2s (peer), application); |
1557 | return; | 1557 | return; |
1558 | } | 1558 | } |
1559 | 1559 | ||
1560 | handle->s_feedback (handle->solver, application, peer, scope, kind, score_abs); | 1560 | handle->s_feedback (handle->solver, application, peer, scope, kind, score_abs); |
@@ -1706,17 +1706,17 @@ bandwidth_changed_cb (void *cls, struct ATS_Address *address) | |||
1706 | if ((0 == ntohl (address->assigned_bw_in.value__)) && | 1706 | if ((0 == ntohl (address->assigned_bw_in.value__)) && |
1707 | (0 == ntohl (address->assigned_bw_out.value__))) | 1707 | (0 == ntohl (address->assigned_bw_out.value__))) |
1708 | { | 1708 | { |
1709 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1709 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1710 | "Telling transport to disconnect peer `%s'\n", | 1710 | "Telling transport to disconnect peer `%s'\n", |
1711 | GNUNET_i2s (&address->peer)); | 1711 | GNUNET_i2s (&address->peer)); |
1712 | } | 1712 | } |
1713 | else | 1713 | else |
1714 | { | 1714 | { |
1715 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 1715 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
1716 | "Sending bandwidth update for peer `%s': %llu %llu\n", | 1716 | "Sending bandwidth update for peer `%s': %llu %llu\n", |
1717 | GNUNET_i2s (&address->peer), | 1717 | GNUNET_i2s (&address->peer), |
1718 | address->assigned_bw_out, | 1718 | address->assigned_bw_out, |
1719 | address->assigned_bw_out); | 1719 | address->assigned_bw_out); |
1720 | } | 1720 | } |
1721 | 1721 | ||
1722 | /* *Notify scheduling clients about suggestion */ | 1722 | /* *Notify scheduling clients about suggestion */ |