summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-10-10 10:56:02 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-10-11 10:01:26 +0200
commit34cd785288e4e875bc525bc767074dd1a46f77e1 (patch)
tree8ca5ae4f22353268f4086098e5b73730ffb84b4d
parent9f1883ace8e467c543b322dd93dbab14eabdb35c (diff)
downloadsssd-34cd785288e4e875bc525bc767074dd1a46f77e1.tar.gz
sssd-34cd785288e4e875bc525bc767074dd1a46f77e1.tar.xz
sssd-34cd785288e4e875bc525bc767074dd1a46f77e1.zip
INI: Disable line-wrapping functionality
Supporting the latest INI release brought an incompatible change. Lines beginning with a whitespace were treated as continuation of the previous line. This patch reverts to ignoring the whitespace as we did previously so that the existing configurations keep working.
-rw-r--r--src/util/sss_ini.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/sss_ini.c b/src/util/sss_ini.c
index 6d93b16e3..9f23500ab 100644
--- a/src/util/sss_ini.c
+++ b/src/util/sss_ini.c
@@ -223,7 +223,7 @@ int sss_ini_get_config(struct sss_ini_initdata *init_data,
ret = ini_config_parse(init_data->file,
INI_STOP_ON_ANY,
INI_MV1S_OVERWRITE,
- 0,
+ INI_PARSE_NOWRAP,
init_data->sssd_config);
if (ret != EOK) {