Skip to content
Browse files

fix warning in UDP test

  • Loading branch information...
1 parent de1f30c commit c0387e3268a27925ccc5919add9559dbd749f760 @dormando dormando committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/udp.t
View
2 t/udp.t
@@ -192,7 +192,7 @@ sub construct_udp_message {
my $cur_dg ="";
my $cur_udp_header ="";
for (my $cur_dg_index = 0; $cur_dg_index < $num_datagram; $cur_dg_index++) {
- $cur_dg = %$datagrams->{$cur_dg_index};
+ $cur_dg = $datagrams->{$cur_dg_index};
isnt($cur_dg,"","missing datagram for segment $cur_dg_index");
$cur_udp_header=substr($cur_dg, 0, 8);
$msg .= substr($cur_dg,8);

0 comments on commit c0387e3

Please sign in to comment.
Something went wrong with that request. Please try again.