*/
const ucl_object_t *rspamd_config_get_module_opt (struct rspamd_config *cfg,
const gchar *module_name,
- const gchar *opt_name);
+ const gchar *opt_name) G_GNUC_WARN_UNUSED_RESULT;
/**
value = rspamd_config_get_module_opt (cfg, "dkim", "check_local");
if (value == NULL) {
- rspamd_config_get_module_opt (cfg, "options", "check_local");
+ value = rspamd_config_get_module_opt (cfg, "options", "check_local");
}
if (value != NULL) {
dkim_module_ctx->check_local = FALSE;
}
- value = rspamd_config_get_module_opt (cfg, "dkim", "check_authed");
+ value = rspamd_config_get_module_opt (cfg, "dkim",
+ "check_authed");
if (value == NULL) {
- rspamd_config_get_module_opt (cfg, "options", "check_authed");
+ value = rspamd_config_get_module_opt (cfg, "options",
+ "check_authed");
}
if (value != NULL) {