about summary refs log tree commit diff
path: root/src/afl-common.c
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-12-03 14:43:06 +0100
committerDominik Maier <domenukk@gmail.com>2020-12-03 14:43:06 +0100
commita2e2fae840e9946c7994ac6807bed8496d71af56 (patch)
treec4162219bb50b7d46ef15120c13841a4b10d873c /src/afl-common.c
parent0f803c63dfb1dafdef3bfe1b43674157efcd7107 (diff)
downloadafl++-a2e2fae840e9946c7994ac6807bed8496d71af56.tar.gz
AFL_CRASH_EXITCODE env var added, u8->bool
Diffstat (limited to 'src/afl-common.c')
-rw-r--r--src/afl-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-common.c b/src/afl-common.c
index 8cf1a444..ed0b0e53 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -46,7 +46,7 @@ u8  be_quiet = 0;
 u8 *doc_path = "";
 u8  last_intr = 0;
 
-void detect_file_args(char **argv, u8 *prog_in, u8 *use_stdin) {
+void detect_file_args(char **argv, u8 *prog_in, bool *use_stdin) {
 
   u32 i = 0;
   u8  cwd[PATH_MAX];
@@ -63,7 +63,7 @@ void detect_file_args(char **argv, u8 *prog_in, u8 *use_stdin) {
 
       if (!prog_in) { FATAL("@@ syntax is not supported by this tool."); }
 
-      *use_stdin = 0;
+      *use_stdin = false;
 
       if (prog_in[0] != 0) {  // not afl-showmap special case