-const char parsers_rcs[] = "$Id: parsers.c,v 1.277 2013/04/23 09:43:25 fabiankeil Exp $";
+const char parsers_rcs[] = "$Id: parsers.c,v 1.278 2013/08/06 12:58:28 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/parsers.c,v $
multi_action_index = ACTION_MULTI_CLIENT_HEADER_TAGGER;
}
- if (list_is_empty(csp->action->multi[multi_action_index]))
+ if (list_is_empty(csp->action->multi[multi_action_index])
+ || filters_available(csp) == FALSE)
{
- /* No appropriate tagger enabled, nothing left to do. */
- return JB_ERR_OK;
- }
-
- if (filters_available(csp) == FALSE)
- {
- log_error(LOG_LEVEL_ERROR, "Inconsistent configuration: "
- "tagging enabled, but no taggers available.");
+ /* Return early if no taggers apply or if none are available. */
return JB_ERR_OK;
}
multi_action_index = ACTION_MULTI_CLIENT_HEADER_FILTER;
}
- if (list_is_empty(csp->action->multi[multi_action_index]))
- {
- /* No appropriate header filter enabled, nothing left to do. */
- return JB_ERR_OK;
- }
-
- if (filters_available(csp) == FALSE)
+ if (list_is_empty(csp->action->multi[multi_action_index])
+ || filters_available(csp) == FALSE)
{
- log_error(LOG_LEVEL_ERROR, "Inconsistent configuration: "
- "header filtering enabled, but no matching filters available.");
+ /* Return early if no filters apply or if none are available. */
return JB_ERR_OK;
}