diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-06 20:55:28 +0000 |
commit | 61c39c60565b386e0e12ea669556b030e8cd7180 (patch) | |
tree | 59109aeab8297bdc996faca8c4e38ec7426c36cf /src/transport/transport_api.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/transport/transport_api.c')
-rw-r--r-- | src/transport/transport_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index cb6cefdb1..86ce454e5 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c | |||
@@ -437,7 +437,7 @@ neighbour_add (struct GNUNET_TRANSPORT_Handle *h, | |||
437 | * GNUNET_NO if not. | 437 | * GNUNET_NO if not. |
438 | */ | 438 | */ |
439 | static int | 439 | static int |
440 | neighbour_delete (void *cls, | 440 | neighbour_delete (void *cls, |
441 | const struct GNUNET_PeerIdentity *key, void *value) | 441 | const struct GNUNET_PeerIdentity *key, void *value) |
442 | { | 442 | { |
443 | struct GNUNET_TRANSPORT_Handle *handle = cls; | 443 | struct GNUNET_TRANSPORT_Handle *handle = cls; |
@@ -1341,7 +1341,7 @@ GNUNET_TRANSPORT_check_neighbour_connected (struct GNUNET_TRANSPORT_Handle *hand | |||
1341 | { | 1341 | { |
1342 | GNUNET_assert (NULL != handle); | 1342 | GNUNET_assert (NULL != handle); |
1343 | GNUNET_assert (NULL != peer); | 1343 | GNUNET_assert (NULL != peer); |
1344 | 1344 | ||
1345 | if (GNUNET_YES == GNUNET_CONTAINER_multipeermap_contains (handle->neighbours, peer)) | 1345 | if (GNUNET_YES == GNUNET_CONTAINER_multipeermap_contains (handle->neighbours, peer)) |
1346 | return GNUNET_YES; | 1346 | return GNUNET_YES; |
1347 | else | 1347 | else |
@@ -1364,7 +1364,7 @@ call_hello_update_cb_async (void *cls, | |||
1364 | GNUNET_assert (NULL != ghh->handle->my_hello); | 1364 | GNUNET_assert (NULL != ghh->handle->my_hello); |
1365 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK != ghh->notify_task); | 1365 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK != ghh->notify_task); |
1366 | ghh->notify_task = GNUNET_SCHEDULER_NO_TASK; | 1366 | ghh->notify_task = GNUNET_SCHEDULER_NO_TASK; |
1367 | ghh->rec (ghh->rec_cls, | 1367 | ghh->rec (ghh->rec_cls, |
1368 | (const struct GNUNET_MessageHeader *) ghh->handle->my_hello); | 1368 | (const struct GNUNET_MessageHeader *) ghh->handle->my_hello); |
1369 | } | 1369 | } |
1370 | 1370 | ||
@@ -1564,7 +1564,7 @@ GNUNET_TRANSPORT_notify_transmit_ready (struct GNUNET_TRANSPORT_Handle *handle, | |||
1564 | delay.rel_value_us = 0; /* notify immediately (with failure) */ | 1564 | delay.rel_value_us = 0; /* notify immediately (with failure) */ |
1565 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 1565 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
1566 | "Bandwidth tracker allows next transmission to peer %s in %s\n", | 1566 | "Bandwidth tracker allows next transmission to peer %s in %s\n", |
1567 | GNUNET_i2s (target), | 1567 | GNUNET_i2s (target), |
1568 | GNUNET_STRINGS_relative_time_to_string (delay, GNUNET_YES)); | 1568 | GNUNET_STRINGS_relative_time_to_string (delay, GNUNET_YES)); |
1569 | n->hn = GNUNET_CONTAINER_heap_insert (handle->ready_heap, n, delay.rel_value_us); | 1569 | n->hn = GNUNET_CONTAINER_heap_insert (handle->ready_heap, n, delay.rel_value_us); |
1570 | schedule_transmission (handle); | 1570 | schedule_transmission (handle); |