aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/test_datastore_api_management.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/datastore/test_datastore_api_management.c
parentfceec98e767bce7ad2c24dde73cdcf8837e04013 (diff)
downloadgnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz
gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/datastore/test_datastore_api_management.c')
-rw-r--r--src/datastore/test_datastore_api_management.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/datastore/test_datastore_api_management.c b/src/datastore/test_datastore_api_management.c
index 3cb8ed94a..20a405d07 100644
--- a/src/datastore/test_datastore_api_management.c
+++ b/src/datastore/test_datastore_api_management.c
@@ -252,7 +252,7 @@ run_tests (void *cls, int success, struct GNUNET_TIME_Absolute min_expiration, c
252 252
253 if (success != GNUNET_YES) 253 if (success != GNUNET_YES)
254 { 254 {
255 fprintf (stderr, 255 FPRINTF (stderr,
256 "Test 'put' operation failed with error `%s' database likely not setup, skipping test.", 256 "Test 'put' operation failed with error `%s' database likely not setup, skipping test.",
257 msg); 257 msg);
258 GNUNET_free (crc); 258 GNUNET_free (crc);
@@ -282,7 +282,7 @@ run (void *cls, char *const *args, const char *cfgfile,
282 (GNUNET_TIME_UNIT_SECONDS), 0, 1, 282 (GNUNET_TIME_UNIT_SECONDS), 0, 1,
283 GNUNET_TIME_UNIT_MINUTES, &run_tests, crc)) 283 GNUNET_TIME_UNIT_MINUTES, &run_tests, crc))
284 { 284 {
285 fprintf (stderr, "Test 'put' operation failed.\n"); 285 FPRINTF (stderr, "%s", "Test 'put' operation failed.\n");
286 GNUNET_free (crc); 286 GNUNET_free (crc);
287 ok = 1; 287 ok = 1;
288 } 288 }
@@ -331,7 +331,7 @@ check ()
331 GNUNET_OS_process_close (proc); 331 GNUNET_OS_process_close (proc);
332 proc = NULL; 332 proc = NULL;
333 if (ok != 0) 333 if (ok != 0)
334 fprintf (stderr, "Missed some testcases: %u\n", ok); 334 FPRINTF (stderr, "Missed some testcases: %u\n", ok);
335 return ok; 335 return ok;
336} 336}
337 337