git » chasquid » commit dd35085

Remove obsolete TODOs

author Alberto Bertogli
2016-10-12 21:20:18 UTC
committer Alberto Bertogli
2016-10-21 21:13:39 UTC
parent a7afa08e7c860308f28de6e5f96cb87c94be84ca

Remove obsolete TODOs

chasquid.go +0 -1
internal/spf/spf.go +0 -2
test/t-02-exim/config/exim4.in +0 -1

diff --git a/chasquid.go b/chasquid.go
index 239f9bc..9cad720 100644
--- a/chasquid.go
+++ b/chasquid.go
@@ -970,7 +970,6 @@ func (c *Conn) AUTH(params string) (code int, msg string) {
 	}
 
 	if c.authAttempts > 3 {
-		// TODO: close the connection?
 		return 503, "Too many attempts - go away"
 	}
 	c.authAttempts++
diff --git a/internal/spf/spf.go b/internal/spf/spf.go
index 974ab09..7e158c9 100644
--- a/internal/spf/spf.go
+++ b/internal/spf/spf.go
@@ -28,8 +28,6 @@ import (
 	"strings"
 )
 
-// TODO: Neutral if not supported (including macros).
-
 // Functions that we can override for testing purposes.
 var (
 	lookupTXT func(domain string) (txts []string, err error) = net.LookupTXT
diff --git a/test/t-02-exim/config/exim4.in b/test/t-02-exim/config/exim4.in
index 1304f0c..2cca6a8 100644
--- a/test/t-02-exim/config/exim4.in
+++ b/test/t-02-exim/config/exim4.in
@@ -12,7 +12,6 @@ keep_environment =
 tls_advertise_hosts =
 
 # Run as the current user.
-# TODO: obviously do not hard-code it!
 exim_group = ${USER}
 exim_user = ${USER}