2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 13:26:02 +00:00

00_FBAHAHTTP: fix group switch (Forum #54697)

git-svn-id: https://svn.fhem.de/fhem/trunk@11731 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-07-02 12:54:09 +00:00
parent 80b4fbab0f
commit 0770652e1b

View File

@ -175,9 +175,9 @@ FBAHAHTTP_ProcessStack($)
} }
chomp $_[2]; chomp $_[2];
Log3 $name, 5, "FBAHAHTTP_Write reply for $name: $_[2]"; Log3 $name, 5, "FBAHAHTTP_Write reply for $name: $_[2]";
pop @{$hash->{CmdStack}}; shift @{$hash->{CmdStack}};
if(@{$hash->{CmdStack}} > 0) { if(@{$hash->{CmdStack}} > 0) {
my $ad = AttrVal($name, "async_delay", 0.2); my $ad = AttrVal($name, "async_delay", 0);
InternalTimer(gettimeofday()+$ad, sub(){ InternalTimer(gettimeofday()+$ad, sub(){
FBAHAHTTP_ProcessStack($hash); FBAHAHTTP_ProcessStack($hash);
}, $hash); }, $hash);