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/peerinfo/peerinfo_api.c | |
parent | 780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff) | |
download | gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip |
-remove trailing whitespace
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index fad77a194..794060487 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c | |||
@@ -455,7 +455,7 @@ GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h, | |||
455 | * | 455 | * |
456 | * @param ac handle for the add operation to cancel | 456 | * @param ac handle for the add operation to cancel |
457 | */ | 457 | */ |
458 | void | 458 | void |
459 | GNUNET_PEERINFO_add_peer_cancel (struct GNUNET_PEERINFO_AddContext *ac) | 459 | GNUNET_PEERINFO_add_peer_cancel (struct GNUNET_PEERINFO_AddContext *ac) |
460 | { | 460 | { |
461 | struct GNUNET_PEERINFO_Handle *h = ac->h; | 461 | struct GNUNET_PEERINFO_Handle *h = ac->h; |
@@ -528,7 +528,7 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
528 | h->in_receive = GNUNET_YES; | 528 | h->in_receive = GNUNET_YES; |
529 | GNUNET_CLIENT_receive (h->client, &peerinfo_handler, h, | 529 | GNUNET_CLIENT_receive (h->client, &peerinfo_handler, h, |
530 | GNUNET_TIME_absolute_get_remaining (h->ic_head->timeout)); | 530 | GNUNET_TIME_absolute_get_remaining (h->ic_head->timeout)); |
531 | } | 531 | } |
532 | if (NULL != cb) | 532 | if (NULL != cb) |
533 | cb (cb_cls, NULL, NULL, NULL); | 533 | cb (cb_cls, NULL, NULL, NULL); |
534 | return; | 534 | return; |
@@ -557,11 +557,11 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
557 | "Received HELLO for peer `%s', expected peer `%s'\n", | 557 | "Received HELLO for peer `%s', expected peer `%s'\n", |
558 | GNUNET_i2s (&im->peer), | 558 | GNUNET_i2s (&im->peer), |
559 | GNUNET_i2s (&ic->peer)); | 559 | GNUNET_i2s (&ic->peer)); |
560 | 560 | ||
561 | GNUNET_break (0); | 561 | GNUNET_break (0); |
562 | GNUNET_PEERINFO_iterate_cancel (ic); | 562 | GNUNET_PEERINFO_iterate_cancel (ic); |
563 | reconnect (h); | 563 | reconnect (h); |
564 | if (NULL != cb) | 564 | if (NULL != cb) |
565 | cb (cb_cls, NULL, NULL, | 565 | cb (cb_cls, NULL, NULL, |
566 | _("Received invalid message from `PEERINFO' service.")); | 566 | _("Received invalid message from `PEERINFO' service.")); |
567 | return; | 567 | return; |
@@ -576,7 +576,7 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
576 | GNUNET_break (0); | 576 | GNUNET_break (0); |
577 | GNUNET_PEERINFO_iterate_cancel (ic); | 577 | GNUNET_PEERINFO_iterate_cancel (ic); |
578 | reconnect (h); | 578 | reconnect (h); |
579 | if (NULL != cb) | 579 | if (NULL != cb) |
580 | cb (cb_cls, NULL, NULL, | 580 | cb (cb_cls, NULL, NULL, |
581 | _("Received invalid message from `PEERINFO' service.")); | 581 | _("Received invalid message from `PEERINFO' service.")); |
582 | return; | 582 | return; |
@@ -587,7 +587,7 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
587 | GNUNET_break (0); | 587 | GNUNET_break (0); |
588 | GNUNET_PEERINFO_iterate_cancel (ic); | 588 | GNUNET_PEERINFO_iterate_cancel (ic); |
589 | reconnect (h); | 589 | reconnect (h); |
590 | if (NULL != cb) | 590 | if (NULL != cb) |
591 | cb (cb_cls, NULL, NULL, | 591 | cb (cb_cls, NULL, NULL, |
592 | _("Received invalid message from `PEERINFO' service.")); | 592 | _("Received invalid message from `PEERINFO' service.")); |
593 | return; | 593 | return; |
@@ -598,7 +598,7 @@ peerinfo_handler (void *cls, const struct GNUNET_MessageHeader *msg) | |||
598 | GNUNET_break (0); | 598 | GNUNET_break (0); |
599 | GNUNET_PEERINFO_iterate_cancel (ic); | 599 | GNUNET_PEERINFO_iterate_cancel (ic); |
600 | reconnect (h); | 600 | reconnect (h); |
601 | if (NULL != cb) | 601 | if (NULL != cb) |
602 | cb (cb_cls, NULL, NULL, | 602 | cb (cb_cls, NULL, NULL, |
603 | _("Received invalid message from `PEERINFO' service.")); | 603 | _("Received invalid message from `PEERINFO' service.")); |
604 | return; | 604 | return; |