Add missing fallthrough

This commit is contained in:
Drew DeVault 2019-07-27 12:36:30 -04:00
parent 84f49e96ce
commit d931bbeff1
1 changed files with 2 additions and 0 deletions

View File

@ -196,8 +196,10 @@ func (_ Send) Execute(aerc *widgets.Aerc, args []string) error {
} }
sendAsync := func() (int, error) { sendAsync := func() (int, error) {
fmt.Println(scheme)
switch scheme { switch scheme {
case "smtp": case "smtp":
fallthrough
case "smtps": case "smtps":
return smtpAsync() return smtpAsync()
case "": case "":