aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-02 13:34:00 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-02 18:55:46 -0400
commitcfdf0e333d240526436aff5f886a1da6a0959bce (patch)
treea22071401f406723f38bdc4c825245e36bd61b73 /src/utils.c
parent9910a30f0c26b3180d46418abad760f86a253aa2 (diff)
downloadstasis-cfdf0e333d240526436aff5f886a1da6a0959bce.tar.gz
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"
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
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);