summaryrefslogtreecommitdiff
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 09:59:36 +0200
commitf322968cb3e9187eb5ddc9d575fa77027b71bb3b (patch)
treec55e97233d21396050bba6ee6da2f2f16a23b17b
parentf244195582ec804f1022341e2e3394754e31b36a (diff)
downloadsssd-f322968cb3e9187eb5ddc9d575fa77027b71bb3b.tar.gz
sssd-f322968cb3e9187eb5ddc9d575fa77027b71bb3b.tar.bz2
sssd-f322968cb3e9187eb5ddc9d575fa77027b71bb3b.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 6d93b16e..9f23500a 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) {