use log instead of fprintf

This commit is contained in:
Christian Grothoff 2018-09-17 11:27:36 +02:00
parent ebc8ae68be
commit dce058af76
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -261,9 +261,9 @@ add_account_cb (void *cls,
ai->plugin_name); ai->plugin_name);
if (NULL == wa->wire_plugin) if (NULL == wa->wire_plugin)
{ {
fprintf (stderr, GNUNET_log (GNUNET_ERROR_TYPE_MESSAGE,
"Failed to load wire plugin for `%s'\n", "Failed to load wire plugin for `%s'\n",
ai->plugin_name); ai->plugin_name);
GNUNET_free (wa); GNUNET_free (wa);
return; return;
} }