mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
HttpUtils: create $hash->{NAME} only if does not exist
git-svn-id: https://svn.fhem.de/fhem/trunk@4523 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
18183293af
commit
c48da46b41
@ -133,7 +133,7 @@ HttpUtils_Connect($)
|
||||
|
||||
return HttpUtils_Connect2($hash);
|
||||
};
|
||||
$hash->{NAME} = ""; # Delete might check it
|
||||
$hash->{NAME} = "" if(!defined($hash->{NAME})); #Delete might check it
|
||||
$selectlist{$hash} = $hash;
|
||||
InternalTimer(gettimeofday()+$hash->{timeout},
|
||||
"HttpUtils_ConnErr", $hash, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user