Mercurial > hg > nginx-tests
comparison stream_error_log.t @ 925:6bb1f2ccd386
Tests: removed unused variables.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Fri, 13 May 2016 14:46:07 +0300 |
parents | 77359b849cd5 |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
924:54680c434afa | 925:6bb1f2ccd386 |
---|---|
165 } | 165 } |
166 | 166 |
167 sub get_syslog { | 167 sub get_syslog { |
168 my ($data, $peer, $port) = @_; | 168 my ($data, $peer, $port) = @_; |
169 my ($s); | 169 my ($s); |
170 my $rfd = ''; | |
171 | 170 |
172 $port = 8080 unless defined $port; | 171 $port = 8080 unless defined $port; |
173 | 172 |
174 eval { | 173 eval { |
175 local $SIG{ALRM} = sub { die "timeout\n" }; | 174 local $SIG{ALRM} = sub { die "timeout\n" }; |