about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-08-19 16:25:32 +0200
committervanhauser-thc <vh@thc.org>2024-08-19 16:25:32 +0200
commit1689a8e053c1f73e16331bfeda28c79e1ed4bbd0 (patch)
tree8e1dbb1b8454c470aa5e0093f6d89c5cc86e9200 /src/afl-fuzz.c
parent6edc3b51ba81d577eeb4a64299916c1eaadfdd70 (diff)
downloadafl++-1689a8e053c1f73e16331bfeda28c79e1ed4bbd0.tar.gz
code format, llvm 18
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 1546597e..726a2260 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -2237,6 +2237,7 @@ int main(int argc, char **argv_orig, char **envp) {
       snprintf(fn, PATH_MAX, "%s/fastresume.bin", afl->out_dir);
   #ifdef HAVE_ZLIB
       if ((fr_fd = ZLIBOPEN(fn, "rb")) != NULL) {
+
   #else
       if ((fr_fd = open(fn, O_RDONLY)) >= 0) {
 
@@ -3340,9 +3341,11 @@ stop_fuzzing:
     ACTF("Writing %s ...", fr);
   #ifdef HAVE_ZLIB
     if ((fr_fd = ZLIBOPEN(fr, "wb9")) != NULL) {
+
   #else
     if ((fr_fd = open(fr, O_WRONLY | O_TRUNC | O_CREAT, DEFAULT_PERMISSION)) >=
         0) {
+
   #endif
 
       u8   ver_string[8];