1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

global-functions: $ParseJson: drop superfluous substraction

This commit is contained in:
Christian Hesse
2023-10-10 12:49:10 +02:00
parent 080b3cbf9d
commit bb899b1fb0

View File

@@ -703,7 +703,7 @@
:local Return ({});
:local Skip 0;
:for I from=0 to=([ :len $Input ] - 1) do={
:for I from=0 to=[ :len $Input ] do={
:if ($Skip > 0 || $Input->$I = "\n" || $Input->$I = "\r\n") do={
:if ($Skip > 0) do={
:set $Skip ($Skip - 1);