summaryrefslogtreecommitdiff
path: root/attack_result.go
diff options
context:
space:
mode:
Diffstat (limited to 'attack_result.go')
-rw-r--r--attack_result.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/attack_result.go b/attack_result.go
index 856051b..26f1a9d 100644
--- a/attack_result.go
+++ b/attack_result.go
@@ -99,14 +99,14 @@ func (ar *AttackResult) cancel() {
if ar.fout != nil {
err := ar.fout.Close()
if err != nil {
- mlog.Errf("AttackResult.cancel %s: %s\n", ar.HttpTargetID, err)
+ mlog.Errf(`AttackResult.cancel %s: %s`, ar.HttpTargetID, err)
}
ar.fout = nil
if len(ar.fullpath) > 0 {
err = os.Remove(ar.fullpath)
if err != nil {
- mlog.Errf("AttackResult.cancel %s: %s\n", ar.HttpTargetID, err)
+ mlog.Errf(`AttackResult.cancel %s: %s`, ar.HttpTargetID, err)
}
}
}