]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/DSKQXS.pm
update copyrights for 2021
[public-inbox.git] / lib / PublicInbox / DSKQXS.pm
index 35cdecda8985965578c5aa4283885dd384596afb..acc31d9baa2242c75487510b87111574e1c98078 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2019-2021 all contributors <meta@public-inbox.org>
 # Licensed the same as Danga::Socket (and Perl5)
 # License: GPL-1.0+ or Artistic-1.0-Perl
 #  <https://www.gnu.org/licenses/gpl-1.0.txt>
@@ -134,7 +134,7 @@ sub epoll_wait {
                }
        }
        # caller only cares for $events[$i]->[0]
-       scalar(@$events);
+       $_ = $_->[0] for @$events;
 }
 
 # kqueue is close-on-fork (not exec), so we must not close it