Rename placeholder type from RULE_PH_TARGET to RULE_PH_SKIPAFTER.

This commit is contained in:
brectanus 2007-12-02 16:26:05 +00:00
parent 2bf4556cd0
commit 22873995f7
2 changed files with 2 additions and 2 deletions

View File

@ -643,7 +643,7 @@ static const char *add_rule(cmd_parms *cmd, directory_config *dcfg, const char *
/* shallow copy of original rule with placeholder marked as target */
memcpy(phrule, rule, sizeof(msre_rule));
phrule->placeholder = RULE_PH_TARGET;
phrule->placeholder = RULE_PH_SKIPAFTER;
/* Add placeholder. */
if (msre_ruleset_rule_add(dcfg->ruleset, phrule, phrule->actionset->phase) < 0) {

View File

@ -110,7 +110,7 @@ int DSOLOCAL msre_ruleset_phase_rule_remove_with_exception(msre_ruleset *ruleset
#define RULE_MATCH 1
#define RULE_PH_NONE 0 /* Not a placeholder */
#define RULE_PH_TARGET 1 /* Placeholder for skipafter targets */
#define RULE_PH_SKIPAFTER 1 /* Placeholder for skipAfter targets */
struct msre_rule {
apr_array_header_t *targets;