diff src/config/config-parser.h @ 12067:31387c9d5b88

doveconf: Quote output values when necessary.
author Timo Sirainen <tss@iki.fi>
date Thu, 02 Sep 2010 17:01:00 +0100
parents c147a2653f9c
children 8c003fe6f5a6
line wrap: on
line diff
--- a/src/config/config-parser.h	Thu Sep 02 15:53:08 2010 +0100
+++ b/src/config/config-parser.h	Thu Sep 02 17:01:00 2010 +0100
@@ -3,6 +3,8 @@
 
 #define CONFIG_MODULE_DIR MODULEDIR"/settings"
 
+#define IS_WHITE(c) ((c) == ' ' || (c) == '\t')
+
 struct config_module_parser {
 	const struct setting_parser_info *root;
 	struct setting_parser_context *parser;