We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5451f66 commit 643f809Copy full SHA for 643f809
src/rpp.c
@@ -134,10 +134,7 @@ static void rpp_process_rule(struct rpp_context *ctx)
134
if (strlen(conv) == strlen8(input))
135
strcpy(ctx->input->data, conv); /* Always shorter than original */
136
else {
137
- static int warned;
138
-
139
- if (!warned++)
140
- log_event("- Rule preprocessor: Rejected rule(s) not fitting current internal codepage");
+ LOG_ONCE("- Rule preprocessor: Rejected rule(s) not fitting current internal codepage");
141
input[1] = '-';
142
}
143
0 commit comments