aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_sharedservices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_testing_sharedservices.c')
-rw-r--r--src/testing/test_testing_sharedservices.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/test_testing_sharedservices.c b/src/testing/test_testing_sharedservices.c
index 305b2b21b..5b5bc0a24 100644
--- a/src/testing/test_testing_sharedservices.c
+++ b/src/testing/test_testing_sharedservices.c
@@ -21,7 +21,7 @@
21/** 21/**
22 * @file testing/test_testing_sharedservices.c 22 * @file testing/test_testing_sharedservices.c
23 * @brief test case for testing service sharing among peers started by testing 23 * @brief test case for testing service sharing among peers started by testing
24 * @author Sree Harsha Totakura <sreeharsha@totakura.in> 24 * @author Sree Harsha Totakura <sreeharsha@totakura.in>
25 */ 25 */
26 26
27#include "platform.h" 27#include "platform.h"
@@ -47,7 +47,7 @@ struct TestingContext
47 * The testing system 47 * The testing system
48 */ 48 */
49 struct GNUNET_TESTING_System *system; 49 struct GNUNET_TESTING_System *system;
50 50
51 /** 51 /**
52 * The peer which has been started by the testing system 52 * The peer which has been started by the testing system
53 */ 53 */
@@ -81,7 +81,7 @@ do_shutdown (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
81 continue; 81 continue;
82 (void) GNUNET_TESTING_peer_stop (peer); 82 (void) GNUNET_TESTING_peer_stop (peer);
83 GNUNET_TESTING_peer_destroy (peer); 83 GNUNET_TESTING_peer_destroy (peer);
84 } 84 }
85 if (NULL != test_ctx->cfg) 85 if (NULL != test_ctx->cfg)
86 GNUNET_CONFIGURATION_destroy (test_ctx->cfg); 86 GNUNET_CONFIGURATION_destroy (test_ctx->cfg);
87 if (NULL != test_ctx->system) 87 if (NULL != test_ctx->system)
@@ -108,7 +108,7 @@ run (void *cls, char *const *args, const char *cfgfile,
108 unsigned int cnt; 108 unsigned int cnt;
109 109
110 test_ctx = GNUNET_malloc (sizeof (struct TestingContext)); 110 test_ctx = GNUNET_malloc (sizeof (struct TestingContext));
111 test_ctx->system = 111 test_ctx->system =
112 GNUNET_TESTING_system_create ("test-gnunet-testing", 112 GNUNET_TESTING_system_create ("test-gnunet-testing",
113 "127.0.0.1", NULL, ss); 113 "127.0.0.1", NULL, ss);
114 emsg = NULL; 114 emsg = NULL;