[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet-secushare] 02/02: treewide: use fprintf
From: |
gnunet |
Subject: |
[gnunet-secushare] 02/02: treewide: use fprintf |
Date: |
Tue, 29 Oct 2019 22:48:01 +0100 |
This is an automated email from the git hooks/post-receive script.
daniel-golle pushed a commit to branch master
in repository gnunet-secushare.
commit a831d35535e278e0534fa4f8848f0113fc8572a2
Author: Daniel Golle <address@hidden>
AuthorDate: Tue Oct 29 22:38:13 2019 +0100
treewide: use fprintf
As plibc for win32 compatibility has been removed, also replace
occurences of FPRINTF compatibility macro with plain fprintf as done
in gnunet tree.
Signed-off-by: Daniel Golle <address@hidden>
---
src/psycstore/test_plugin_psycstore.c | 6 +++---
src/social/gnunet-social.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/psycstore/test_plugin_psycstore.c
b/src/psycstore/test_plugin_psycstore.c
index b074ec1..9af32ef 100644
--- a/src/psycstore/test_plugin_psycstore.c
+++ b/src/psycstore/test_plugin_psycstore.c
@@ -94,7 +94,7 @@ load_plugin (const struct GNUNET_CONFIGURATION_Handle *cfg)
GNUNET_asprintf (&libname, "libgnunet_plugin_psycstore_%s", plugin_name);
if (NULL == (ret = GNUNET_PLUGIN_load (libname, (void*) cfg)))
{
- FPRINTF (stderr, "Failed to load plugin `%s'!\n", plugin_name);
+ fprintf (stderr, "Failed to load plugin `%s'!\n", plugin_name);
return NULL;
}
GNUNET_free (libname);
@@ -189,7 +189,7 @@ run (void *cls, char *const *args, const char *cfgfile,
db = load_plugin (cfg);
if (NULL == db)
{
- FPRINTF (stderr,
+ fprintf (stderr,
"%s",
"Failed to initialize PSYCstore. "
"Database likely not setup, skipping test.\n");
@@ -520,7 +520,7 @@ main (int argc, char *argv[])
if ( (0 != ok) &&
(77 != ok) )
- FPRINTF (stderr, "Missed some testcases: %d\n", ok);
+ fprintf (stderr, "Missed some testcases: %d\n", ok);
#if ! DEBUG_PSYCSTORE
GNUNET_DISK_directory_remove ("/tmp/gnunet-test-plugin-psycstore-sqlite");
diff --git a/src/social/gnunet-social.c b/src/social/gnunet-social.c
index d89b3d8..f934894 100644
--- a/src/social/gnunet-social.c
+++ b/src/social/gnunet-social.c
@@ -1176,7 +1176,7 @@ run (void *cls, char *const *args, const char *cfgfile,
strlen (opt_ego),
&ego_pub_key))
{
- FPRINTF (stderr,
+ fprintf (stderr,
_("Public key `%s' malformed\n"),
opt_ego);
exit_fail ();
--
To stop receiving notification emails like this one, please contact
address@hidden.