diff options
Diffstat (limited to 'src/testing/gnunet-testing-run-service.c')
-rw-r--r-- | src/testing/gnunet-testing-run-service.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/gnunet-testing-run-service.c b/src/testing/gnunet-testing-run-service.c index 72415e606..cbd4763c5 100644 --- a/src/testing/gnunet-testing-run-service.c +++ b/src/testing/gnunet-testing-run-service.c | |||
@@ -143,9 +143,9 @@ stdin_cb (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
143 | */ | 143 | */ |
144 | static void | 144 | static void |
145 | testing_main (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg, | 145 | testing_main (void *cls, const struct GNUNET_CONFIGURATION_Handle *cfg, |
146 | const struct GNUNET_TESTING_Peer *peer) | 146 | struct GNUNET_TESTING_Peer *peer) |
147 | { | 147 | { |
148 | my_peer = (struct GNUNET_TESTING_Peer *) peer; | 148 | my_peer = peer; |
149 | if (NULL == (tmpfilename = GNUNET_DISK_mktemp ("gnunet-testing"))) | 149 | if (NULL == (tmpfilename = GNUNET_DISK_mktemp ("gnunet-testing"))) |
150 | { | 150 | { |
151 | GNUNET_break (0); | 151 | GNUNET_break (0); |
@@ -193,8 +193,8 @@ main (int argc, char *const *argv) | |||
193 | if (GNUNET_SYSERR == | 193 | if (GNUNET_SYSERR == |
194 | GNUNET_GETOPT_run("gnunet-testing-run-service", options, argc, argv)) | 194 | GNUNET_GETOPT_run("gnunet-testing-run-service", options, argc, argv)) |
195 | return 1; | 195 | return 1; |
196 | ret = GNUNET_TESTING_service_run_restartable ("gnunet_service_test", srv_name, | 196 | ret = GNUNET_TESTING_service_run ("gnunet_service_test", srv_name, |
197 | cfg_name, &testing_main, NULL); | 197 | cfg_name, &testing_main, NULL); |
198 | if (0 != ret) | 198 | if (0 != ret) |
199 | { | 199 | { |
200 | printf ("error\n"); | 200 | printf ("error\n"); |