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:
parent
63596edd68
commit
c247150e39
@ -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(;;) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user