summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2019-01-20 13:28:21 +0500
committerSunil Nimmagadda <sunil@nimmagadda.net>2019-01-20 13:28:21 +0500
commit4e2ded41821675c3c4c6c93c91a3ec0f3bee6478 (patch)
tree970efd67769371b6ff1219b93462e9f38dc39f51
parentf1b7bf5fb7d7b291c979dfaf20ddec944461b30d (diff)
Style.
-rw-r--r--filter_rspamd.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter_rspamd.go b/filter_rspamd.go
index 5e71f2a..5b5a1a1 100644
--- a/filter_rspamd.go
+++ b/filter_rspamd.go
@@ -65,16 +65,16 @@ func txBegin(s *session, args []string) {
}
func txMail(s *session, args []string) {
- mail_from, status := args[7], args[8]
+ mailFrom, status := args[7], args[8]
if status == "ok" {
- s.control["From"] = mail_from
+ s.control["From"] = mailFrom
}
}
func txRcpt(s *session, args []string) {
- rcpt_to, status := args[7], args[8]
+ rcptTo, status := args[7], args[8]
if status == "ok" {
- s.control["Rcpt"] = rcpt_to
+ s.control["Rcpt"] = rcptTo
}
}