diff options
author | Eric Wong <e@80x24.org> | 2016-02-29 00:56:20 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-29 01:04:25 +0000 |
commit | 79d9b48a0fa8c9158377fa120be25468f6aab1b8 (patch) | |
tree | ef33040c147313de0d010aaf2265426dd0646daf /script | |
parent | 1c0cfc8726c1c5e4085ad43bdf533b91af88e971 (diff) | |
download | public-inbox-79d9b48a0fa8c9158377fa120be25468f6aab1b8.tar.gz |
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')
-rwxr-xr-x | script/public-inbox-httpd | 2 |
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->SUPER::new($io); $self->{cb} = $cb; $self->watch_read(1); |