fix checks

This commit is contained in:
Christian Grothoff 2020-08-29 01:24:21 +02:00
parent 0846ab93bc
commit 5224f79591
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 2 additions and 2 deletions

View File

@ -617,7 +617,7 @@ run (void *cls,
}
}
if ( (GNUNET_YES == incoming_history) &&
(GNUNET_YES == incoming_history) )
(GNUNET_YES == outgoing_history) )
{
fprintf (stderr,
"Please specify only -i or -o, but not both.\n");

View File

@ -65,7 +65,7 @@ get_and_check_master_key (const struct GNUNET_CONFIGURATION_Handle *cfg,
ret = GNUNET_CRYPTO_eddsa_key_from_file (fn,
GNUNET_YES,
&master_priv->eddsa_priv);
if (GNUNET_SYSERR == ret)
if (GNUNET_OK != ret)
{
fprintf (stderr,
"Failed to initialize master key from file `%s': %s\n",