summaryrefslogtreecommitdiff
path: root/libmu_sieve/comparator.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmu_sieve/comparator.c')
-rw-r--r--libmu_sieve/comparator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmu_sieve/comparator.c b/libmu_sieve/comparator.c
index a0d5836d3..44dd05bbf 100644
--- a/libmu_sieve/comparator.c
+++ b/libmu_sieve/comparator.c
@@ -217,7 +217,6 @@ mu_sieve_match_part_checker (mu_sieve_machine_t mach)
{
mu_sieve_value_t *val;
char *str;
- size_t count;
if (compname && strcmp (compname, "i;ascii-numeric"))
{
@@ -247,7 +246,7 @@ mu_sieve_match_part_checker (mu_sieve_machine_t mach)
return 1;
}
str = mu_sieve_string_raw (mach, &val->v.list, 0)->orig;
- count = strtoul (str, &str, 10);
+ str = mu_str_skip_class (str, MU_CTYPE_DIGIT);
if (*str)
{
mu_diag_at_locus (MU_LOG_ERROR, &mach->locus,

Return to:

Send suggestions and report system problems to the System administrator.