Skip to content

Commit

Permalink
Closing #18
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenfritz committed May 15, 2023
1 parent d3c6863 commit 1d6b902
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ func main() {
}

// Recipient accepted
singlemx.fakercpt = orresult.rcptboolresult
if orresult.rcptboolresult {
InfoLogger.Println("Recipient accepted.")
} else {
Expand Down
8 changes: 4 additions & 4 deletions output.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ func writeTSV(targetHostName string, runresult runresult, blacklist bool) error

if blacklist {
for bldns, blacklistresult := range runresult.bldnsnamelisted {
err = tsv.Write([]string{bldns + " lists ", blacklistresult})
err = tsv.Write([]string{"Blacklist " + bldns + " lists ", blacklistresult})
}
for bldns, blacklistresult := range runresult.bldnsnamenotlisted {
err = tsv.Write([]string{bldns + " does not list ", blacklistresult})
err = tsv.Write([]string{"Blacklist " + bldns + " does not list ", blacklistresult})
}
for bldns, blacklistresult := range runresult.bldnsiplisted {
err = tsv.Write([]string{bldns + " lists ", blacklistresult})
err = tsv.Write([]string{"Blacklist " + bldns + " lists ", blacklistresult})
}
for bldns, blacklistresult := range runresult.bldnsipnotlisted {
err = tsv.Write([]string{bldns + " does not list ", blacklistresult})
err = tsv.Write([]string{"Blacklist " + bldns + " does not list ", blacklistresult})
}
}

Expand Down

0 comments on commit 1d6b902

Please sign in to comment.