From 79d9b48a0fa8c9158377fa120be25468f6aab1b8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 29 Feb 2016 00:56:20 +0000 Subject: favor procedural calls for most private functions 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. --- script/public-inbox-httpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') 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->SUPER::new($io); $self->{cb} = $cb; $self->watch_read(1); -- cgit v1.2.3-24-ge0c7