2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

Initialize ret to avoid uninitializes messages

git-svn-id: https://svn.fhem.de/fhem/trunk@1431 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-04-09 16:47:03 +00:00
parent 63596edd68
commit c247150e39

View File

@ -203,7 +203,7 @@ GetHttpFile($$@)
my $req = "GET $filename HTTP/1.0\r\nHost: $host\r\n\r\n\r\n";
syswrite $conn, $req;
shutdown $conn, 1; # stopped writing data
my ($buf, $ret);
my ($buf, $ret) = ("", "");
$conn->timeout($timeout);
for(;;) {