2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

Small fix to avoid unintialized messages when no IODevice is set.

git-svn-id: https://svn.fhem.de/fhem/trunk@116 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2007-12-03 09:56:06 +00:00
parent a531544b76
commit c89a971a0d
2 changed files with 3 additions and 2 deletions

View File

@ -339,7 +339,7 @@
- bugfix: WS300 loglevel change (from 2 to 5 or device specific loglevel) - bugfix: WS300 loglevel change (from 2 to 5 or device specific loglevel)
- feature: First steps for a Fritz!Box port. See the fritzbox.html - feature: First steps for a Fritz!Box port. See the fritzbox.html
- ==DATE== (4.2) - 2007-12-02 (4.2)
- feature: added archivedir/archivecmd to the the main logfile - feature: added archivedir/archivecmd to the the main logfile
- feature: 99_Sunrise_EL.pm (does not need any Date modules) - feature: 99_Sunrise_EL.pm (does not need any Date modules)
- bugfix: seldom xmllist error resulting in corrupt xml (Martin/Peter, 4.9) - bugfix: seldom xmllist error resulting in corrupt xml (Martin/Peter, 4.9)

View File

@ -221,7 +221,8 @@ FHT_Set($@)
$val = "" if (!defined($val)); $val = "" if (!defined($val));
my $ioname = $hash->{IODev}->{NAME}; my $ioname = "";
$hash->{IODev}->{NAME} if($hash->{IODEV});
if($attr{$ioname} && $attr{$ioname}{fhtsoftbuffer}) { if($attr{$ioname} && $attr{$ioname}{fhtsoftbuffer}) {
my $io = $hash->{IODev}; my $io = $hash->{IODev};