From cfdf0e333d240526436aff5f886a1da6a0959bce Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 2 Apr 2024 13:34:00 -0400 Subject: Changes to ini_write() behavior: * Caller can choose to dump raw unmodified key/value pairs, or render all values through the template engine * Fixes spurious line feeds injected into the output stream * Uses LINE_SEP instead of "\n" --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index d45f33a..402b62d 100644 --- a/src/utils.c +++ b/src/utils.c @@ -643,7 +643,7 @@ int fix_tox_conf(const char *filename, char **result) { } } - ini_write(toxini, &fptemp); + ini_write(toxini, &fptemp, INI_WRITE_RAW); fclose(fptemp); strcpy(*result, tempfile); -- cgit