Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs
[interchange: 1/2] Reducing a warning message when using vlink.pl
 

Index | Next | Previous | View Flat


interchange-cvs at icdevgroup

Apr 11, 2011, 4:02 AM


Views: 325
Permalink
[interchange: 1/2] Reducing a warning message when using vlink.pl

commit 613b1fc4dc22773f6820daa67eb472ddc0f64efc
Author: Gert van der Spoel <gert [at] 3edge>
Date: Mon Apr 11 12:45:34 2011 +0200

Reducing a warning message when using vlink.pl

dist/src/vlink.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/dist/src/vlink.pl b/dist/src/vlink.pl
index 758f1e9..10c2da4 100755
--- a/dist/src/vlink.pl
+++ b/dist/src/vlink.pl
@@ -127,7 +127,7 @@ sub send_environment () {

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";

_______________________________________________
interchange-cvs mailing list
interchange-cvs [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Subject User Time
[interchange: 1/2] Reducing a warning message when using vlink.pl interchange-cvs at icdevgroup Apr 11, 2011, 4:02 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.