about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-01 19:21:30 +0100
committerEmile <hanemile@protonmail.com>2019-11-01 19:21:30 +0100
commit67b9787c3f4103100a626e6e8a71551482c7ad44 (patch)
tree640b39acf2659c9c2f77eeaa671877d2ecf91670 /src
parentab9a328c91b279522f73e56872ec6d64e47cb206 (diff)
updated the thread handling
Diffstat (limited to 'src')
-rw-r--r--src/main.go3
1 files changed, 2 insertions, 1 deletions
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 {