summaryrefslogtreecommitdiff
path: root/src/lib-config/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib-config/write.c')
-rw-r--r--src/lib-config/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib-config/write.c b/src/lib-config/write.c
index 552600a7..76f29a09 100644
--- a/src/lib-config/write.c
+++ b/src/lib-config/write.c
@@ -76,7 +76,7 @@ static int config_has_specials(const char *text)
g_return_val_if_fail(text != NULL, FALSE);
while (*text != '\0') {
- if (!isalnum((int) *text))
+ if (!isalnum((int) *text) && *text != '_')
return TRUE;
text++;
}