2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

93_Log2Syslog: fix warning uninitialized value in numeric (>=)

git-svn-id: https://svn.fhem.de/fhem/trunk@19905 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2019-07-28 10:42:28 +00:00
parent 0aa9cf563b
commit 9285e65be0
2 changed files with 3 additions and 1 deletions

View File

@ -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 <device> versionNotes" for further informations

View File

@ -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};