]> git.ipfire.org Git - thirdparty/systemd.git/commit
json: move empty string check from json_parse_file_at() to json_parse_with_source()
authorLennart Poettering <lennart@poettering.net>
Mon, 27 May 2024 09:36:48 +0000 (11:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Jun 2024 09:30:12 +0000 (11:30 +0200)
commitaacbc2acb94d95ccedb69cc1bcabc31833d48aa2
tree752f7fcc6e60719cea24a66504f5039b035060d8
parent639256f380682ca483b1a81f83211fbe7c226217
json: move empty string check from json_parse_file_at() to json_parse_with_source()

That way this error is generalized and applies to either function, since
one is just a wrapper to the other, normalizing behaviour.
src/libsystemd/sd-json/sd-json.c