aboutsummaryrefslogtreecommitdiffstats
path: root/pullimap
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-03-08 17:43:14 +0100
committerGuilhem Moulin <guilhem@fripost.org>2016-03-08 17:43:14 +0100
commitf8387c281f2a73343fcca9e599d29bd93ece4524 (patch)
tree53d61c598079b275432b34b4eafff109331f0acb /pullimap
parentc61cd2c80674757c9a910b4d379e5b92f65cbec7 (diff)
pullimap: improve doc.
Diffstat (limited to 'pullimap')
-rwxr-xr-xpullimap2
1 files changed, 1 insertions, 1 deletions
diff --git a/pullimap b/pullimap
index 0e31a90..d2de66f 100755
--- a/pullimap
+++ b/pullimap
@@ -221,7 +221,7 @@ sub smtp_send(@) {
$CONF->{'logger-fd'} = \*STDERR if $CONFIG{debug};
my $IMAP = do {
my %config = (%$CONF, %CONFIG{qw/quiet debug/}, name => $ARGV[0]);
- $config{keepalive} = 1 if defined $CONFIG{idle} and $config{type} ne 'tunnel';
+ $config{keepalive} = 1 if defined $CONFIG{idle};
Net::IMAP::InterIMAP::->new( %config );
};