aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2019-10-29 22:38:13 +0100
committerDaniel Golle <daniel@makrotopia.org>2019-10-29 22:38:13 +0100
commita831d35535e278e0534fa4f8848f0113fc8572a2 (patch)
treec19ee1ef2e8c97daefd80e56ee085c672a8db89e /src
parentbe0d5ec3c095c67a037b27cc130ef624eeff6bbb (diff)
downloadgnunet-secushare-a831d35535e278e0534fa4f8848f0113fc8572a2.tar.gz
gnunet-secushare-a831d35535e278e0534fa4f8848f0113fc8572a2.zip
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 <daniel@makrotopia.org>
Diffstat (limited to 'src')
-rw-r--r--src/psycstore/test_plugin_psycstore.c6
-rw-r--r--src/social/gnunet-social.c2
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)
94 GNUNET_asprintf (&libname, "libgnunet_plugin_psycstore_%s", plugin_name); 94 GNUNET_asprintf (&libname, "libgnunet_plugin_psycstore_%s", plugin_name);
95 if (NULL == (ret = GNUNET_PLUGIN_load (libname, (void*) cfg))) 95 if (NULL == (ret = GNUNET_PLUGIN_load (libname, (void*) cfg)))
96 { 96 {
97 FPRINTF (stderr, "Failed to load plugin `%s'!\n", plugin_name); 97 fprintf (stderr, "Failed to load plugin `%s'!\n", plugin_name);
98 return NULL; 98 return NULL;
99 } 99 }
100 GNUNET_free (libname); 100 GNUNET_free (libname);
@@ -189,7 +189,7 @@ run (void *cls, char *const *args, const char *cfgfile,
189 db = load_plugin (cfg); 189 db = load_plugin (cfg);
190 if (NULL == db) 190 if (NULL == db)
191 { 191 {
192 FPRINTF (stderr, 192 fprintf (stderr,
193 "%s", 193 "%s",
194 "Failed to initialize PSYCstore. " 194 "Failed to initialize PSYCstore. "
195 "Database likely not setup, skipping test.\n"); 195 "Database likely not setup, skipping test.\n");
@@ -520,7 +520,7 @@ main (int argc, char *argv[])
520 520
521 if ( (0 != ok) && 521 if ( (0 != ok) &&
522 (77 != ok) ) 522 (77 != ok) )
523 FPRINTF (stderr, "Missed some testcases: %d\n", ok); 523 fprintf (stderr, "Missed some testcases: %d\n", ok);
524 524
525#if ! DEBUG_PSYCSTORE 525#if ! DEBUG_PSYCSTORE
526 GNUNET_DISK_directory_remove ("/tmp/gnunet-test-plugin-psycstore-sqlite"); 526 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,
1176 strlen (opt_ego), 1176 strlen (opt_ego),
1177 &ego_pub_key)) 1177 &ego_pub_key))
1178 { 1178 {
1179 FPRINTF (stderr, 1179 fprintf (stderr,
1180 _("Public key `%s' malformed\n"), 1180 _("Public key `%s' malformed\n"),
1181 opt_ego); 1181 opt_ego);
1182 exit_fail (); 1182 exit_fail ();