diff options
author | Markus Ongyerth <aerc@ongy.net> | 2018-06-12 12:16:23 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-06-12 09:49:38 -0400 |
commit | 67d14977fa91a56509d8ddde54607b4b7811d3fe (patch) | |
tree | b49c2a252394fc6029115a21e553e5450c63b2e8 | |
parent | dc90be24de569a6de1222c6ebbc659814a49d0a2 (diff) | |
download | aerc-67d14977fa91a56509d8ddde54607b4b7811d3fe.zip |
fallthrough in worker selection
-rw-r--r-- | worker/worker.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/worker.go b/worker/worker.go index 439ab64..be4c520 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -22,7 +22,7 @@ func NewWorker(source string, logger *log.Logger) (*types.Worker, error) { Logger: logger, } switch u.Scheme { - case "imap": + case "imap": fallthrough; case "imaps": worker.Backend = imap.NewIMAPWorker(worker) default: |