From 67b9787c3f4103100a626e6e8a71551482c7ad44 Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 1 Nov 2019 19:21:30 +0100 Subject: updated the thread handling --- src/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.go b/src/main.go index 1ed2333..25d3f3b 100644 --- a/src/main.go +++ b/src/main.go @@ -27,7 +27,8 @@ func main() { // print the responses from the printChannel go printResponses(printChannel) - if threads > 1 { + // handle one or more theads + if threads <= 1 { httpRequest(wordlistChannel, printChannel) } else { -- cgit 1.4.1