]> git.meshlink.io Git - meshlink/commit
Add missing calls to fflush().
authorGuus Sliepen <guus@meshlink.io>
Tue, 5 Nov 2019 18:22:09 +0000 (19:22 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 5 Nov 2019 18:22:09 +0000 (19:22 +0100)
commitb055d934d156a379a219b01e53a1cbfe043ebfd1
tree80b0581b72a9c6b8fcb2971286b3c507c08d4030
parentffda069e617db34c12321b438964e4c369053466
Add missing calls to fflush().

We need to ensure file handles have flushed the stream buffer to disk
before calling fsync().

Also remove redundant calls to fsync(), config_write_file() already
takes care of it.
src/conf.c