]> git.g-eek.se Git - interimap.git/commitdiff
typofix
authorGuilhem Moulin <guilhem@fripost.org>
Tue, 8 May 2018 23:49:37 +0000 (01:49 +0200)
committerGuilhem Moulin <guilhem@fripost.org>
Tue, 8 May 2018 23:49:37 +0000 (01:49 +0200)
lib/Net/IMAP/InterIMAP.pm

index d898f6dec731ea4226778d50b92058ecc30d9ced..3270108b18f4bcbdbc07158271733952d3c384da 100644 (file)
@@ -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
                 }