From d53e9cd0ca28c7ddaf92908d2c599381570f388e Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sun, 23 Nov 2014 11:00:12 +0000 Subject: [PATCH] HttpUtils.pm: fix timerHash for read-timeout (Forum #29397) git-svn-id: https://svn.fhem.de/fhem/trunk@7050 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/HttpUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/HttpUtils.pm b/fhem/FHEM/HttpUtils.pm index fb00d959a..bc2520c75 100644 --- a/fhem/FHEM/HttpUtils.pm +++ b/fhem/FHEM/HttpUtils.pm @@ -225,7 +225,7 @@ HttpUtils_Connect2($) $hash->{FD} = $hash->{conn}->fileno(); $hash->{buf} = ""; $hash->{NAME} = "" if(!defined($hash->{NAME})); - my %timerHash = ( hash => {$hash} ); + my %timerHash = ( hash => $hash ); $hash->{directReadFn} = sub() { my $buf; my $len = sysread($hash->{conn},$buf,65536);