implement #4851 (refuse to run without wire plugin)

This commit is contained in:
Christian Grothoff 2017-03-02 06:34:53 +01:00
parent 397c718809
commit d06dac6250
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -114,6 +114,13 @@ TEH_VALIDATION_init (const struct GNUNET_CONFIGURATION_Handle *cfg)
p);
}
GNUNET_free (wireformats);
if (NULL == wire_head)
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
"exchange",
"wireformat");
return GNUNET_SYSERR;
}
return GNUNET_OK;
}