aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/engine.h2
-rw-r--r--src/engine.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/engine.h b/include/engine.h
index 6fd437e..66c5dc8 100644
--- a/include/engine.h
+++ b/include/engine.h
@@ -12,6 +12,6 @@ void handle_contentfor(char **buffer,
key_match_t *match,
directive_t *directive,
list_t *content_headers);
-void handle_for(char **buffer, key_match_t *match, directive_t *directive);
+void handle_eachdo(char **buffer, key_match_t *match, directive_t *directive);
#endif
diff --git a/src/engine.c b/src/engine.c
index ee16cdf..389bcbc 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -74,7 +74,7 @@ handle_contentfor(char **buffer,
}
void
-handle_for(char **buffer, key_match_t *match, directive_t *directive)
+handle_eachdo(char **buffer, key_match_t *match, directive_t *directive)
{
eachdo_operands_t *operands = directive->operands;
@@ -169,7 +169,7 @@ ingest(char **buffer)
handle_contentfor(buffer, match, directive, content_headers);
break;
case EACHDO:
- handle_for(buffer, match, directive);
+ handle_eachdo(buffer, match, directive);
break;
case ENDEACHDO: