X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-xreq.c;h=7621b8017c1d6f9f06d0afce1ce30e3c716b2d10;hb=refs%2Fchanges%2F52%2F23152%2F1;hp=854274194717e8ce0f623dac54e43b171c611b8b;hpb=b4da3b7f3db2211e7ecca74301e26b3089fda5a2;p=src%2Fapp-framework-binder.git diff --git a/src/afb-xreq.c b/src/afb-xreq.c index 85427419..7621b801 100644 --- a/src/afb-xreq.c +++ b/src/afb-xreq.c @@ -320,7 +320,7 @@ static struct json_object *xreq_get_client_info_cb(struct afb_req_x2 *closure) json_object_object_add(r, "id", json_object_new_string(xreq->cred->id)); } if (xreq->context.session) { - json_object_object_add(r, "uuid", json_object_new_string(afb_context_uuid(&xreq->context))); + json_object_object_add(r, "uuid", json_object_new_string(afb_context_uuid(&xreq->context)?:"")); json_object_object_add(r, "LOA", json_object_new_int(afb_context_get_loa(&xreq->context))); } return r;