Fix an use of execute()

This commit is contained in:
gfx 2010-09-16 20:44:51 +09:00
parent 3cffd46008
commit 8eaed95e02

View File

@ -35,7 +35,7 @@ is_deeply(Data::MessagePack->unpack($packed), $input);
while( read($stream, $buff, $size) ) { while( read($stream, $buff, $size) ) {
note "buff: ", join " ", map { unpack 'H2', $_ } split //, $buff; note "buff: ", join " ", map { unpack 'H2', $_ } split //, $buff;
$up->execute($buff); $up->execute($buff, 0);
} }
ok $up->is_finished, 'is_finished'; ok $up->is_finished, 'is_finished';
my $data = $up->data; my $data = $up->data;