69_SoftliqCloud.pm: Fix Substr-Typo

git-svn-id: https://svn.fhem.de/fhem/trunk@24383 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
KernSani
2021-05-04 20:15:31 +00:00
parent 404c6d6524
commit 2a330d6899

View File

@@ -21,8 +21,6 @@
#
##############################################################################
# Changelog:
# 0.1.07: - 2021-04-30 - Split JSON strings to avoid processing multiple root nodes, part 2
# - Changed password storage to (new) common package
# 0.1.06: - 2021-04-26 - Split JSON strings to avoid processing multiple root nodes
# 0.1.05: Fixed setting numeric parameters
# 0.1.04: ANother fix to avoid "garbage" in JSON
@@ -1990,7 +1988,7 @@ sub wsReadDevIo {
my $index = index($buf, '}{');
if ($index > 0) {
Log3 ($name, LOG_RECEIVE, "[$name] - Splitting double-JSON buffer");
@bufs = split(/,/xsm,join($COMMA,substr($buf,0,$index),Substr($buf,$index+1)));
@bufs = split(/,/xsm,join($COMMA,substr($buf,0,$index),substr($buf,$index+1)));
}
else {
push(@bufs,$buf);