aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Net/IMAP
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-05-09 01:49:37 +0200
committerGuilhem Moulin <guilhem@fripost.org>2018-05-09 01:49:37 +0200
commit03f02402ff8cb75eef3c727ceba8f2c28fdec551 (patch)
treef41dd4b8cb8f95c40dc65cb2ad5cb564d3bd24f4 /lib/Net/IMAP
parentbcbb33688254397c78a80922230054c6aa66c254 (diff)
typofix
Diffstat (limited to 'lib/Net/IMAP')
-rw-r--r--lib/Net/IMAP/InterIMAP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/IMAP/InterIMAP.pm b/lib/Net/IMAP/InterIMAP.pm
index d898f6d..3270108 100644
--- a/lib/Net/IMAP/InterIMAP.pm
+++ b/lib/Net/IMAP/InterIMAP.pm
@@ -963,7 +963,7 @@ sub slurp($$$) {
foreach my $imap (@ready) {
my $x = $imap->_getline();
$imap->_resp($x, sub($;$$) {
- if ($stopwhen->(@_)) {
+ if ($stopwhen->($imap, @_)) {
$aborted = 1;
$timeout = 0; # keep reading the handles while there is pending data
}