diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2009-10-25 17:32:42 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2009-10-25 17:32:42 +0000 |
commit | 7053f02991b5a9a34caa27b086ae06ac98c88e7b (patch) | |
tree | a18efaa72acca29f5a190e1f6378d52f3e78afec | |
parent | 0d2127c11b84fd98b2f09bb1304a84b393171b7a (diff) | |
download | lighttpd-7053f02991b5a9a34caa27b086ae06ac98c88e7b.tar.gz |
tests: Fix undefined var warning
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@2675 152afb58-edef-0310-8abb-c4023f1b3aa9
-rwxr-xr-x | tests/LightyTest.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm index ae84703b..3aa0fdc1 100755 --- a/tests/LightyTest.pm +++ b/tests/LightyTest.pm @@ -202,7 +202,7 @@ sub handle_http { (my $line, $lines) = split($EOL, $lines, 2); # header finished - last if(length($line) == 0); + last if (not defined($line)) or (length($line) == 0); if ($ln == 0) { # response header |