]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: only recognize closed object as final element
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 12 Dec 2023 17:42:44 +0000 (18:42 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 12 Dec 2023 18:41:16 +0000 (19:41 +0100)
commit5130ce8ee5b71c249e0c8bb7a4975dc8a48c64fa
tree65b8927e6c91ac8c733722d3db1726ceb65626bd
parent36a853a9a71c46f088ab8f7416d68af112a59ce4
libsmartcols: only recognize closed object as final element

When streaming JSON normal values also have indent == 1.
For those however it is incorrect to close the stream.

Fixes #2644
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
lib/jsonwrt.c