about summary refs log tree commit homepage
path: root/script/public-inbox-httpd
diff options
authorEric Wong <e@80x24.org>2016-02-29 00:56:20 +0000
committerEric Wong <e@80x24.org>2016-02-29 01:04:25 +0000
commit79d9b48a0fa8c9158377fa120be25468f6aab1b8 (patch)
treeef33040c147313de0d010aaf2265426dd0646daf /script/public-inbox-httpd
parent1c0cfc8726c1c5e4085ad43bdf533b91af88e971 (diff)
This makes for better compile-time checking and also helps
document which calls are private for HTTP and NNTP.

While we're at it, use IO::Handle::* functions procedurally,
too, since we know we're working with native glob handles.
Diffstat (limited to 'script/public-inbox-httpd')
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-httpd b/script/public-inbox-httpd
index 19315bb4..f1a5d799 100755
--- a/script/public-inbox-httpd
+++ b/script/public-inbox-httpd
@@ -68,7 +68,7 @@ use fields qw(cb);
 sub new {
         my ($class, $io, $cb) = @_;
         my $self = fields::new($class);
-        $io->blocking(0);
+        IO::Handle::blocking($io, 0);
         $self->{cb} = $cb;