[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen stable-4.2] libxl_json: Fix backport of JSON_BOOL to 4.2.2
commit 253d1cb0e217ddf60f9a9ef3dca541368a86b93e Author: Don Slutz <dslutz@xxxxxxxxxxx> AuthorDate: Fri Jul 5 10:58:48 2013 -0400 Commit: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CommitDate: Fri Jul 12 14:06:13 2013 +0100 libxl_json: Fix backport of JSON_BOOL to 4.2.2 git commit 2b3072ed0cbeed8c0385f20e92ba0f1201db8a17 ('libxl_json: Replace JSON_TRUE/FALSE by JSON_BOOL.') has the setting of obj->u.b git commit 6a2aca9fdef0499e613715baf107f2296b9007cf ('libxl_json: Replace JSON_TRUE/FALSE by JSON_BOOL.') does not. This shows up by vnc-port and vnc-listen are missing in xenstore when they should not be. Signed-off-by: Don Slutz <dslutz@xxxxxxxxxxx> Acked-By: Alex Bligh <alex@xxxxxxxxxxx> --- tools/libxl/libxl_json.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/libxl/libxl_json.c b/tools/libxl/libxl_json.c index 72b52e8..0810630 100644 --- a/tools/libxl/libxl_json.c +++ b/tools/libxl/libxl_json.c @@ -474,6 +474,7 @@ static int json_callback_boolean(void *opaque, int boolean) if ((obj = libxl__json_object_alloc(ctx->gc, JSON_BOOL)) == NULL) return 0; + obj->u.b = boolean; if (libxl__json_object_append_to(ctx->gc, obj, ctx->current) == -1) { libxl__json_object_free(ctx->gc, obj); -- generated by git-patchbot for /home/xen/git/xen.git#stable-4.2 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |