mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
73_km200.pm: bugfix: Errorlist unsorted timestamp part 4
git-svn-id: https://svn.fhem.de/fhem/trunk@14221 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9814420f0e
commit
74b94cc985
@ -1785,7 +1785,7 @@ sub km200_GetSingleService($)
|
||||
{
|
||||
### Create message string with fixed blocksize
|
||||
my $TempTime = $item->{t};
|
||||
$TempTime =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(20-length($1)))/e;
|
||||
if ($TempTime) {$TempTime =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(20-length($1)))/e;}
|
||||
my $TempErrorCode = $item->{dcd};
|
||||
$TempErrorCode =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(3 -length($1)))/e;
|
||||
my $TempAddCode = $item->{ccd};
|
||||
@ -2840,7 +2840,7 @@ sub km200_ParseHttpResponseDyn($)
|
||||
|
||||
### Create message string with fixed blocksize
|
||||
my $TempTime = $item->{t};
|
||||
$TempTime =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(20-length($1)))/e;
|
||||
if ($TempTime) {$TempTime =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(20-length($1)))/e;}
|
||||
my $TempErrorCode = $item->{dcd};
|
||||
$TempErrorCode =~ s/^(.+)$/sprintf("%s%s", $1, ' 'x(3 -length($1)))/e;
|
||||
my $TempAddCode = $item->{ccd};
|
||||
|
Loading…
Reference in New Issue
Block a user