diff --git a/fhem/CHANGED b/fhem/CHANGED index edca9b229..78b33242b 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 93_Log2Syslog: fix warning uninitialized value in numeric (>=) - feature: 93_Log2Syslog: V5.8.1, new attributes and further developments regarding to Forum: topic,75426.msg958836.html#msg958836, use "get versionNotes" for further informations diff --git a/fhem/FHEM/93_Log2Syslog.pm b/fhem/FHEM/93_Log2Syslog.pm index 5e365c89e..cc3df7f81 100644 --- a/fhem/FHEM/93_Log2Syslog.pm +++ b/fhem/FHEM/93_Log2Syslog.pm @@ -41,6 +41,7 @@ eval "use FHEM::Meta;1" or my $modMetaAbsent = 1; # Versions History intern: our %Log2Syslog_vNotesIntern = ( + "5.8.2" => "28.07.2019 fix warning uninitialized value in numeric ge (>=) at line 662 ", "5.8.1" => "23.07.2019 attribute waitForEOF rename to useEOF, useEOF also for type sender ", "5.8.0" => "20.07.2019 attribute waitForEOF, solution for Forum: https://forum.fhem.de/index.php/topic,75426.msg958836.html#msg958836 ", "5.7.0" => "20.07.2019 change logging and chomp received data, use raw parse format if automatic mode don't detect a valid format, ". @@ -659,7 +660,7 @@ sub Log2Syslog_getifdata($$@) { } } - $buforun = (length($hash->{BUF}) >= $mlen)?1:0; + $buforun = (length($hash->{BUF}) >= $mlen)?1:0 if($hash->{BUF}); if(!$uef || $hash->{SSL} || $buforun) { $data = $hash->{BUF};