aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_testing_topology_blacklist.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-12-30 22:42:04 +0000
committerChristian Grothoff <christian@grothoff.org>2011-12-30 22:42:04 +0000
commit416c2f5a713b93ba689a8cd1e038682a53e6bc17 (patch)
tree987f51d9edfddc02afe1524df5e1156b920c71d4 /src/testing/test_testing_topology_blacklist.c
parentfceec98e767bce7ad2c24dde73cdcf8837e04013 (diff)
downloadgnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz
gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/testing/test_testing_topology_blacklist.c')
-rw-r--r--src/testing/test_testing_topology_blacklist.c8
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