about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-07-27 12:36:30 -0400
committerDrew DeVault <sir@cmpwn.com>2019-07-27 12:36:30 -0400
commitd931bbeff149d603c3210db23aea50dbd3d88d57 (patch)
tree36ad66e55fe5971e01b790d966ba4b8adef0a6bc
parent84f49e96ce6d0d7011a05a4932461fd97c7daf63 (diff)
downloadaerc-d931bbeff149d603c3210db23aea50dbd3d88d57.tar.gz
Add missing fallthrough
-rw-r--r--commands/compose/send.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go
index 0574075..29da94d 100644
--- a/commands/compose/send.go
+++ b/commands/compose/send.go
@@ -196,8 +196,10 @@ func (_ Send) Execute(aerc *widgets.Aerc, args []string) error {
 	}
 
 	sendAsync := func() (int, error) {
+		fmt.Println(scheme)
 		switch scheme {
 		case "smtp":
+			fallthrough
 		case "smtps":
 			return smtpAsync()
 		case "":