Skip to content
Browse files

Reducing a warning message when using vlink.pl

  • Loading branch information...
1 parent baa88eb commit 613b1fc4dc22773f6820daa67eb472ddc0f64efc Gert van der Spoel committed Apr 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 dist/src/vlink.pl
View
2 dist/src/vlink.pl
@@ -127,7 +127,7 @@ ()
sub send_entity {
return '' unless defined $ENV{CONTENT_LENGTH};
- my $len = $ENV{CONTENT_LENGTH};
+ my $len = $ENV{CONTENT_LENGTH} || 0;
return '' unless $len > 0;
my $val = "entity\n";

0 comments on commit 613b1fc

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