aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-27 19:11:15 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-27 19:11:15 +0530
commitd59070443e4f9a82ce177bb883dd7b6179471147 (patch)
treeaf0cc917cf0d2d409d97e95ecc8055b595c40aa7
parent751411dfd427828ec54fe3c515c75b6b9b74d83f (diff)
engine: handle_for->handle_eachdo
-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: