diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-23 17:14:07 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-03-23 17:14:07 +0000 |
commit | 11021601e04634213a31df0c16aa4d1c064201ac (patch) | |
tree | 12f5fac32c4b5747ea45c967fe9f0d0de19f1a45 /src/libutil/util.h | |
parent | 8e865ebfcb0fe584841c2e082acd894646569213 (diff) | |
download | rspamd-11021601e04634213a31df0c16aa4d1c064201ac.tar.gz rspamd-11021601e04634213a31df0c16aa4d1c064201ac.zip |
[Feature] Process subject for mixed characters
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index cfea5f851..48381ed92 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -516,5 +516,5 @@ gdouble rspamd_normalize_probability (gdouble x, gdouble bias); */ guint64 rspamd_tm_to_time (const struct tm *tm, glong tz); -#define PTR_ARRAY_FOREACH(ar, i, cur) if ((ar) != NULL && (ar)->len > 0) for ((i) = 0; (i) < (ar)->len && (((cur) = g_ptr_array_index((ar), (i))) || 1); ++(i)) +#define PTR_ARRAY_FOREACH(ar, i, cur) for ((i) = 0; (ar) != NULL && (i) < (ar)->len && (((cur) = g_ptr_array_index((ar), (i))) || 1); ++(i)) #endif |