aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index e4593be..e535f36 100644
--- a/main.go
+++ b/main.go
@@ -134,7 +134,7 @@ func run() error {
if !dryRun && !buildCache {
go func() {
var err error
- c, err = imap.Connect(cfg.Target)
+ c, err = imap.Connect(cfg.Target, cfg.MaxConns)
imapErr <- err
}()