summaryrefslogtreecommitdiff
path: root/src/analysis/scan/patterns/tokens/nodes
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-01 18:08:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-01 18:08:26 (GMT)
commit3ab6c0c0072ae0e2abde48d60d7eac18f084a764 (patch)
treeeb971388c5061dc91416924e98cc0c965fdcd19c /src/analysis/scan/patterns/tokens/nodes
parent8c3fa9dab2ca7c46b6334fbbac5baf0fb822add0 (diff)
Introduce parameters for scan pattern modifiers.
Diffstat (limited to 'src/analysis/scan/patterns/tokens/nodes')
-rw-r--r--src/analysis/scan/patterns/tokens/nodes/plain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis/scan/patterns/tokens/nodes/plain.c b/src/analysis/scan/patterns/tokens/nodes/plain.c
index 5a7f976..5d89cf8 100644
--- a/src/analysis/scan/patterns/tokens/nodes/plain.c
+++ b/src/analysis/scan/patterns/tokens/nodes/plain.c
@@ -344,7 +344,7 @@ static bool g_scan_token_node_plain_enroll(GScanTokenNodePlain *node, GScanConte
}
else
- result = g_scan_token_modifier_transform(node->modifier, &node->orig, &node->raw, &node->count);
+ result = g_scan_token_modifier_transform(node->modifier, &node->orig, 1, &node->raw, &node->count);
if (!result)
goto exit;