aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-06 20:55:28 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-06 20:55:28 +0000
commit61c39c60565b386e0e12ea669556b030e8cd7180 (patch)
tree59109aeab8297bdc996faca8c4e38ec7426c36cf /src/testbed/gnunet-service-testbed.c
parent780eb09dd8040ecf8649d40ddf8314464e0fc48e (diff)
downloadgnunet-61c39c60565b386e0e12ea669556b030e8cd7180.tar.gz
gnunet-61c39c60565b386e0e12ea669556b030e8cd7180.zip
-remove trailing whitespace
Diffstat (limited to 'src/testbed/gnunet-service-testbed.c')
-rw-r--r--src/testbed/gnunet-service-testbed.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c
index b9465b2fe..6f806e21b 100644
--- a/src/testbed/gnunet-service-testbed.c
+++ b/src/testbed/gnunet-service-testbed.c
@@ -446,7 +446,7 @@ parse_shared_services (char *ss_str, struct GNUNET_CONFIGURATION_Handle *cfg)
446 (void) memcpy (&slist[n - 1], &ss, \ 446 (void) memcpy (&slist[n - 1], &ss, \
447 sizeof (struct GNUNET_TESTING_SharedService)); \ 447 sizeof (struct GNUNET_TESTING_SharedService)); \
448 } while (0) 448 } while (0)
449 449
450 slist = NULL; 450 slist = NULL;
451 n = 0; 451 n = 0;
452 ss.cfg = cfg; 452 ss.cfg = cfg;
@@ -590,7 +590,7 @@ handle_add_host (void *cls, struct GNUNET_SERVER_Client *client,
590 username_length = ntohs (msg->username_length); 590 username_length = ntohs (msg->username_length);
591 hostname_length = ntohs (msg->hostname_length); 591 hostname_length = ntohs (msg->hostname_length);
592 /* msg must contain hostname */ 592 /* msg must contain hostname */
593 if ((msize <= (sizeof (struct GNUNET_TESTBED_AddHostMessage) + 593 if ((msize <= (sizeof (struct GNUNET_TESTBED_AddHostMessage) +
594 username_length)) 594 username_length))
595 || (0 == hostname_length)) 595 || (0 == hostname_length))
596 { 596 {
@@ -731,7 +731,7 @@ void
731GST_clear_fopcq () 731GST_clear_fopcq ()
732{ 732{
733 struct ForwardedOperationContext *fopc; 733 struct ForwardedOperationContext *fopc;
734 734
735 while (NULL != (fopc = fopcq_head)) 735 while (NULL != (fopc = fopcq_head))
736 { 736 {
737 GNUNET_CONTAINER_DLL_remove (fopcq_head, fopcq_tail, fopc); 737 GNUNET_CONTAINER_DLL_remove (fopcq_head, fopcq_tail, fopc);
@@ -747,7 +747,7 @@ GST_clear_fopcq ()
747 case OP_SHUTDOWN_PEERS: 747 case OP_SHUTDOWN_PEERS:
748 { 748 {
749 struct HandlerContext_ShutdownPeers *hc = fopc->cls; 749 struct HandlerContext_ShutdownPeers *hc = fopc->cls;
750 750
751 GNUNET_assert (0 < hc->nslaves); 751 GNUNET_assert (0 < hc->nslaves);
752 hc->nslaves--; 752 hc->nslaves--;
753 if (0 == hc->nslaves) 753 if (0 == hc->nslaves)
@@ -901,9 +901,9 @@ testbed_run (void *cls, struct GNUNET_SERVER_Handle *server,
901 sizeof (struct GNUNET_TESTBED_ShutdownPeersMessage)}, 901 sizeof (struct GNUNET_TESTBED_ShutdownPeersMessage)},
902 {&GST_handle_peer_reconfigure, NULL, 902 {&GST_handle_peer_reconfigure, NULL,
903 GNUNET_MESSAGE_TYPE_TESTBED_RECONFIGURE_PEER, 0}, 903 GNUNET_MESSAGE_TYPE_TESTBED_RECONFIGURE_PEER, 0},
904 {&GST_handle_barrier_init, NULL, 904 {&GST_handle_barrier_init, NULL,
905 GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_INIT, 0}, 905 GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_INIT, 0},
906 {&GST_handle_barrier_cancel, NULL, 906 {&GST_handle_barrier_cancel, NULL,
907 GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_CANCEL, 0}, 907 GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_CANCEL, 0},
908 {&GST_handle_barrier_status, NULL, 908 {&GST_handle_barrier_status, NULL,
909 GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_STATUS, 0}, 909 GNUNET_MESSAGE_TYPE_TESTBED_BARRIER_STATUS, 0},