]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
remove useless fsync
authorBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 10 Mar 2026 21:15:01 +0000 (22:15 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 10 Mar 2026 21:15:01 +0000 (22:15 +0100)
src/do_all_the_voodoo_here.c

index a6131d810ad54929c3a234cf993b1e13a48e26f2..20f3898abc07dc98efb4348155d71c2b734ccf0b 100644 (file)
@@ -124,7 +124,6 @@ int do_all_the_voodoo_here(int infd, int outfd, int hdrfd, int footfd,
                                        fclose(f);
                                        return -1;
                                }
-                               fsync(outfd);
                        }
                        hdrsadded = true;
                }
@@ -168,7 +167,6 @@ int do_all_the_voodoo_here(int infd, int outfd, int hdrfd, int footfd,
                                fclose(f);
                                return -1;
                        }
-                       fsync(outfd);
                }
        }