about summary refs log tree commit diff
path: root/examples/afl_network_proxy/afl-network-client.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-10 11:35:31 +0200
committervan Hauser <vh@thc.org>2020-05-10 11:35:31 +0200
commit26f8708fede1b15e6a93709d0baa2e5f481e082d (patch)
treed7884710e287db77b2067a489a374a7bfdb8b724 /examples/afl_network_proxy/afl-network-client.c
parent3beec8d4fa037a8814b697d238727b729214e805 (diff)
downloadafl++-26f8708fede1b15e6a93709d0baa2e5f481e082d.tar.gz
fix warning, code format
Diffstat (limited to 'examples/afl_network_proxy/afl-network-client.c')
-rw-r--r--examples/afl_network_proxy/afl-network-client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/afl_network_proxy/afl-network-client.c b/examples/afl_network_proxy/afl-network-client.c
index cf09b2ad..fca2a9f1 100644
--- a/examples/afl_network_proxy/afl-network-client.c
+++ b/examples/afl_network_proxy/afl-network-client.c
@@ -15,7 +15,7 @@
 */
 
 #ifdef __ANDROID__
-#include "android-ashmem.h"
+#  include "android-ashmem.h"
 #endif
 #include "config.h"
 #include "types.h"
@@ -42,7 +42,7 @@
 #include <fcntl.h>
 
 #ifdef USE_DEFLATE
-#include <libdeflate.h>
+#  include <libdeflate.h>
 #endif
 
 u8 *__afl_area_ptr;
@@ -321,7 +321,7 @@ int main(int argc, char *argv[]) {
 
     // fprintf(stderr, "Sending testcase with len %u\n", *lenptr);
 #ifdef USE_DEFLATE
-#ifdef COMPRESS_TESTCASES
+#  ifdef COMPRESS_TESTCASES
     // we only compress the testcase if it does not fit in the TCP packet
     if (*lenptr > 1500 - 20 - 32 - 4) {
 
@@ -341,17 +341,17 @@ int main(int argc, char *argv[]) {
 
     } else {
 
-#endif
+#  endif
 #endif
       if (send(s, buf, *lenptr + 4, 0) != *lenptr + 4)
         PFATAL("sending test data failed");
 #ifdef USE_DEFLATE
-#ifdef COMPRESS_TESTCASES
+#  ifdef COMPRESS_TESTCASES
       // fprintf(stderr, "unCOMPRESS (%u)\n", *lenptr);
 
     }
 
-#endif
+#  endif
 #endif
 
     received = 0;