mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
HttpUtils.pm: fix warning with same hash for redirect (Forum #120173)
git-svn-id: https://svn.fhem.de/fhem/trunk@24215 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b775a60217
commit
6dc543bb8c
@ -862,6 +862,7 @@ HttpUtils_ParseAnswer($)
|
||||
|
||||
# Request the URL with the Digest response
|
||||
if($hash->{callback}) {
|
||||
delete($hash->{hu_inProgress});
|
||||
HttpUtils_NonblockingGet($hash);
|
||||
return ("", "", 1);
|
||||
} else {
|
||||
@ -886,6 +887,7 @@ HttpUtils_ParseAnswer($)
|
||||
Log3 $hash, $hash->{loglevel}, "HttpUtils $hash->{displayurl}: ".
|
||||
"Redirect to ".($hash->{hideurl} ? "<hidden>" : $hash->{url});
|
||||
if($hash->{callback}) {
|
||||
delete($hash->{hu_inProgress});
|
||||
HttpUtils_NonblockingGet($hash);
|
||||
return ("", "", 1);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user