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

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

View File

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