diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-30 22:42:04 +0000 |
commit | 416c2f5a713b93ba689a8cd1e038682a53e6bc17 (patch) | |
tree | 987f51d9edfddc02afe1524df5e1156b920c71d4 /src/util/test_resolver_api.c | |
parent | fceec98e767bce7ad2c24dde73cdcf8837e04013 (diff) | |
download | gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.tar.gz gnunet-416c2f5a713b93ba689a8cd1e038682a53e6bc17.zip |
-LRN: use FPRINTF -- #2051
Diffstat (limited to 'src/util/test_resolver_api.c')
-rw-r--r-- | src/util/test_resolver_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index 4e248aa72..75140f8d5 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c | |||
@@ -264,8 +264,8 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
264 | _("gethostbyname() could not lookup IP address: %s\n"), | 264 | _("gethostbyname() could not lookup IP address: %s\n"), |
265 | hstrerror (h_errno)); | 265 | hstrerror (h_errno)); |
266 | #endif | 266 | #endif |
267 | fprintf (stderr, | 267 | FPRINTF (stderr, |
268 | "System seems to be off-line, will not run all DNS tests\n"); | 268 | "System seems to be off-line, will not run all DNS tests\n", NULL); |
269 | *ok = 0; /* mark test as passing anyway */ | 269 | *ok = 0; /* mark test as passing anyway */ |
270 | return; | 270 | return; |
271 | } | 271 | } |
@@ -422,7 +422,7 @@ check () | |||
422 | GNUNET_OS_process_close (proc); | 422 | GNUNET_OS_process_close (proc); |
423 | proc = NULL; | 423 | proc = NULL; |
424 | if (ok != 0) | 424 | if (ok != 0) |
425 | fprintf (stderr, "Missed some resolutions: %u\n", ok); | 425 | FPRINTF (stderr, "Missed some resolutions: %u\n", ok); |
426 | return ok; | 426 | return ok; |
427 | } | 427 | } |
428 | 428 | ||