2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

bugfix: solved the uninitialized problem for get

git-svn-id: https://svn.fhem.de/fhem/trunk@3274 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hotmaz 2013-06-11 20:06:17 +00:00
parent d8e5e137fe
commit 50111797fa

View File

@ -701,6 +701,7 @@ sub encode_eibd($)
return;
}
@data = @{$mref->{'data'}};
@data = (0x0) if(!(defined @data) || !(defined $data[0])); #make sure data has at least one element
my $datalen = @data;
Log(5,"encode_eibd dst: $mref->{'dst'} apci: $APCI datalen: $datalen data: @data");
@msg = (