aboutsummaryrefslogtreecommitdiff
path: root/http_target.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-08-21 15:31:35 +0700
committerShulhan <ms@kilabit.info>2022-08-21 15:31:35 +0700
commit767a4d54da5ea2b16b84df7d8f49c61f6ccb5753 (patch)
treee8d838448400d156b77e1ab0a0d1dd1c7700a24e /http_target.go
parente552bc26165e4413390c329113acd95abc6c78e5 (diff)
downloadgorankusu-767a4d54da5ea2b16b84df7d8f49c61f6ccb5753.tar.xz
all: remove trailing new line on each mlog format
The mlog functions automatically add new line to each format, so we did not need to add it manually.
Diffstat (limited to 'http_target.go')
-rw-r--r--http_target.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http_target.go b/http_target.go
index 94a5609..154d839 100644
--- a/http_target.go
+++ b/http_target.go
@@ -125,7 +125,7 @@ func (ht *HttpTarget) deleteResult(result *AttackResult) {
err := os.Remove(result.fullpath)
if err != nil {
- mlog.Errf("deleteResult: %q: %s\n", result.fullpath, err)
+ mlog.Errf(`deleteResult: %q: %s`, result.fullpath, err)
}
}