aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-20 16:28:05 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-08-20 16:39:55 +0100
commit2f2907f9bac3a7bb82e39b4d8f7f1ac5606095df (patch)
tree583e9ae0ded316616c03693182ccfb3e091c87f1 /src/libutil
parentd51db4edf0ea39ea7dc41146a7ddb8750655a6a2 (diff)
downloadrspamd-2f2907f9bac3a7bb82e39b4d8f7f1ac5606095df.tar.gz
rspamd-2f2907f9bac3a7bb82e39b4d8f7f1ac5606095df.zip
[Fix] Fix issue with spaces in maps
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/map.c b/src/libutil/map.c
index b3bb8dc2c..b29cc2e81 100644
--- a/src/libutil/map.c
+++ b/src/libutil/map.c
@@ -1658,7 +1658,7 @@ rspamd_parse_kv_list (
data->state = map_read_key_slashed;
break;
case map_skip_spaces_after_key:
- if (g_ascii_isspace (*p)) {
+ if (*p == ' ' || *p == '\t') {
p ++;
}
else {