aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libutil/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c
index 11e3248ac..506940171 100644
--- a/src/libutil/util.c
+++ b/src/libutil/util.c
@@ -1933,6 +1933,8 @@ rspamd_init_libs (void)
else {
/* Just set the default locale */
setlocale (LC_ALL, "");
+ /* But for some issues we still want C locale */
+ setlocale (LC_NUMERIC, "C");
}
#endif