diff options
author | ng0 <ng0@n0.is> | 2019-09-06 22:46:29 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-06 22:46:29 +0000 |
commit | 6e599264ad13e8fc105493d74d7c11d46f8739ed (patch) | |
tree | 169bef1ecbade5a659831fb169f3ae6943af127f /src/datastore/perf_plugin_datastore.c | |
parent | 4f13bc15113021ebf71d5d81e99bc29f8a07fc9c (diff) | |
download | gnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.tar.gz gnunet-6e599264ad13e8fc105493d74d7c11d46f8739ed.zip |
first step to remove plibc
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r-- | src/datastore/perf_plugin_datastore.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c index f68d1f389..564f8f37b 100644 --- a/src/datastore/perf_plugin_datastore.c +++ b/src/datastore/perf_plugin_datastore.c | |||
@@ -122,7 +122,7 @@ put_continuation (void *cls, | |||
122 | 122 | ||
123 | if (GNUNET_OK != status) | 123 | if (GNUNET_OK != status) |
124 | { | 124 | { |
125 | FPRINTF (stderr, "ERROR: `%s'\n", msg); | 125 | fprintf (stderr, "ERROR: `%s'\n", msg); |
126 | } | 126 | } |
127 | else | 127 | else |
128 | { | 128 | { |
@@ -477,7 +477,7 @@ load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
477 | GNUNET_asprintf (&libname, "libgnunet_plugin_datastore_%s", name); | 477 | GNUNET_asprintf (&libname, "libgnunet_plugin_datastore_%s", name); |
478 | if (NULL == (ret = GNUNET_PLUGIN_load (libname, &env))) | 478 | if (NULL == (ret = GNUNET_PLUGIN_load (libname, &env))) |
479 | { | 479 | { |
480 | FPRINTF (stderr, "Failed to load plugin `%s'!\n", name); | 480 | fprintf (stderr, "Failed to load plugin `%s'!\n", name); |
481 | GNUNET_free (name); | 481 | GNUNET_free (name); |
482 | GNUNET_free (libname); | 482 | GNUNET_free (libname); |
483 | return NULL; | 483 | return NULL; |
@@ -503,7 +503,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
503 | api = load_plugin (c); | 503 | api = load_plugin (c); |
504 | if (api == NULL) | 504 | if (api == NULL) |
505 | { | 505 | { |
506 | FPRINTF (stderr, | 506 | fprintf (stderr, |
507 | "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n"); | 507 | "%s", "Could not initialize plugin, assuming database not configured. Test not run!\n"); |
508 | return; | 508 | return; |
509 | } | 509 | } |
@@ -544,7 +544,7 @@ main (int argc, char *argv[]) | |||
544 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, | 544 | GNUNET_PROGRAM_run ((sizeof (xargv) / sizeof (char *)) - 1, xargv, |
545 | "perf-plugin-datastore", "nohelp", options, &run, NULL); | 545 | "perf-plugin-datastore", "nohelp", options, &run, NULL); |
546 | if (ok != 0) | 546 | if (ok != 0) |
547 | FPRINTF (stderr, "Missed some testcases: %u\n", ok); | 547 | fprintf (stderr, "Missed some testcases: %u\n", ok); |
548 | GNUNET_DISK_directory_remove (dir_name); | 548 | GNUNET_DISK_directory_remove (dir_name); |
549 | 549 | ||
550 | return ok; | 550 | return ok; |