diff options
Diffstat (limited to 'src/testing/test_testing_topology_blacklist.c')
-rw-r--r-- | src/testing/test_testing_topology_blacklist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/test_testing_topology_blacklist.c b/src/testing/test_testing_topology_blacklist.c index 095c5b2a2..9ff1fcbaa 100644 --- a/src/testing/test_testing_topology_blacklist.c +++ b/src/testing/test_testing_topology_blacklist.c | |||
@@ -142,7 +142,7 @@ finish_testing () | |||
142 | #endif | 142 | #endif |
143 | if (dotOutFile != NULL) | 143 | if (dotOutFile != NULL) |
144 | { | 144 | { |
145 | fprintf (dotOutFile, "}"); | 145 | FPRINTF (dotOutFile, "%s", "}"); |
146 | fclose (dotOutFile); | 146 | fclose (dotOutFile); |
147 | } | 147 | } |
148 | 148 | ||
@@ -167,7 +167,7 @@ end_badly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
167 | 167 | ||
168 | if (dotOutFile != NULL) | 168 | if (dotOutFile != NULL) |
169 | { | 169 | { |
170 | fprintf (dotOutFile, "}"); | 170 | FPRINTF (dotOutFile, "%s", "}"); |
171 | fclose (dotOutFile); | 171 | fclose (dotOutFile); |
172 | } | 172 | } |
173 | } | 173 | } |
@@ -191,7 +191,7 @@ topology_callback (void *cls, const struct GNUNET_PeerIdentity *first, | |||
191 | first_daemon->shortname, second_daemon->shortname); | 191 | first_daemon->shortname, second_daemon->shortname); |
192 | #endif | 192 | #endif |
193 | if (dotOutFile != NULL) | 193 | if (dotOutFile != NULL) |
194 | fprintf (dotOutFile, "\tn%s -- n%s;\n", first_daemon->shortname, | 194 | FPRINTF (dotOutFile, "\tn%s -- n%s;\n", first_daemon->shortname, |
195 | second_daemon->shortname); | 195 | second_daemon->shortname); |
196 | } | 196 | } |
197 | 197 | ||
@@ -399,7 +399,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
399 | dotOutFile = fopen (dotOutFileName, "w"); | 399 | dotOutFile = fopen (dotOutFileName, "w"); |
400 | if (dotOutFile != NULL) | 400 | if (dotOutFile != NULL) |
401 | { | 401 | { |
402 | fprintf (dotOutFile, "strict graph G {\n"); | 402 | FPRINTF (dotOutFile, "%s", "strict graph G {\n"); |
403 | } | 403 | } |
404 | 404 | ||
405 | #if VERBOSE | 405 | #if VERBOSE |