timeout bug pointed out by davidnicol

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4263 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-02-14 18:47:22 +00:00
parent a986980c0e
commit df85aac80c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ sub init($;$) {
sub readhash($;$) {
my ($self,$to) = @_;
my ($can_read) = IO::Select::select($self->{_sel}, undef, undef, $to ? to : undef);
my ($can_read) = IO::Select::select($self->{_sel}, undef, undef, $to);
my $s = shift @{$can_read};
my @r = ();
my $crc = 0;