author | Sebastian Harl <sh@tokkee.org> | |
Mon, 28 Sep 2015 20:07:08 +0000 (22:07 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 28 Sep 2015 20:07:08 +0000 (22:07 +0200) | ||
commit | 79debed9dacc5d48386124a1ee9a3f7be655fdf6 | |
tree | cfaf0478d1b4ded1e33e553b53ad8659d7995cb9 | tree | snapshot |
parent | 30e228e35e64b97459e92940ca1e66c790523227 | commit | diff |
store_json: Fix parent/child detection.
Rewinding the formatter state has to happen any time we see a parent object of
the current object. This happens every time the current context isn't HOST
(hosts don't have any parents) or the new object is an ATTRIBUTE (which are
always children of whatever other object type).
This broke in 3603db13105aefac4d6ceb356bcfd118a92fa654.
Rewinding the formatter state has to happen any time we see a parent object of
the current object. This happens every time the current context isn't HOST
(hosts don't have any parents) or the new object is an ATTRIBUTE (which are
always children of whatever other object type).
This broke in 3603db13105aefac4d6ceb356bcfd118a92fa654.
src/core/store_json.c | diff | blob | history |