aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_large_topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/test_testing_large_topology.c')
-rw-r--r--src/testing/test_testing_large_topology.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testing/test_testing_large_topology.c b/src/testing/test_testing_large_topology.c
index 2bca7b3b9..605761105 100644
--- a/src/testing/test_testing_large_topology.c
+++ b/src/testing/test_testing_large_topology.c
@@ -246,7 +246,7 @@ finish_testing ()
246 if (dotOutFile != NULL) 246 if (dotOutFile != NULL)
247 { 247 {
248 FPRINTF (dotOutFile, "%s", "}"); 248 FPRINTF (dotOutFile, "%s", "}");
249 fclose (dotOutFile); 249 FCLOSE (dotOutFile);
250 } 250 }
251 251
252 ok = 0; 252 ok = 0;
@@ -303,7 +303,7 @@ topology_cb (void *cls, const struct GNUNET_PeerIdentity *first,
303 if (outfile != NULL) 303 if (outfile != NULL)
304 { 304 {
305 FPRINTF (outfile, "%s", "}\n"); 305 FPRINTF (outfile, "%s", "}\n");
306 fclose (outfile); 306 FCLOSE (outfile);
307 GNUNET_SCHEDULER_add_now (&finish_testing, NULL); 307 GNUNET_SCHEDULER_add_now (&finish_testing, NULL);
308 } 308 }
309 } 309 }
@@ -358,7 +358,7 @@ process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer,
358#endif 358#endif
359 GNUNET_SCHEDULER_cancel (die_task); 359 GNUNET_SCHEDULER_cancel (die_task);
360 GNUNET_asprintf (&dotOutFileNameFinished, "%s.dot", "final_topology"); 360 GNUNET_asprintf (&dotOutFileNameFinished, "%s.dot", "final_topology");
361 dotOutFileFinished = fopen (dotOutFileNameFinished, "w"); 361 dotOutFileFinished = FOPEN (dotOutFileNameFinished, "w");
362 GNUNET_free (dotOutFileNameFinished); 362 GNUNET_free (dotOutFileNameFinished);
363 if (dotOutFileFinished != NULL) 363 if (dotOutFileFinished != NULL)
364 { 364 {
@@ -425,7 +425,7 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
425 if (dotOutFile != NULL) 425 if (dotOutFile != NULL)
426 { 426 {
427 FPRINTF (dotOutFile, "%s", "}"); 427 FPRINTF (dotOutFile, "%s", "}");
428 fclose (dotOutFile); 428 FCLOSE (dotOutFile);
429 } 429 }
430} 430}
431 431
@@ -949,7 +949,7 @@ run (void *cls, char *const *args, const char *cfgfile,
949 949
950 ok = 1; 950 ok = 1;
951 951
952 dotOutFile = fopen (dotOutFileName, "w"); 952 dotOutFile = FOPEN (dotOutFileName, "w");
953 if (dotOutFile != NULL) 953 if (dotOutFile != NULL)
954 { 954 {
955 FPRINTF (dotOutFile, "%s", "strict graph G {\n"); 955 FPRINTF (dotOutFile, "%s", "strict graph G {\n");