X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-v3.c;h=11bc35ff244819552e83031857c621b67e0c232b;hb=10ac2105ecc20251b13bdc6f6c78c3e2edb8dfef;hp=5134c96f9991f32a4e26143a7f75380b039f0c4a;hpb=7491c74e40512564bc361618a6f3d7e238b34dea;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-v3.c b/src/afb-api-v3.c index 5134c96f..11bc35ff 100644 --- a/src/afb-api-v3.c +++ b/src/afb-api-v3.c @@ -135,9 +135,9 @@ static struct json_object *describe_verb_v3(const struct afb_verb_v3 *verb) a = json_object_new_object(); json_object_object_add(g, "responses", a); - f = json_object_new_object(); - json_object_object_add(a, "200", f); - json_object_object_add(f, "description", json_object_new_string(verb->info?:verb->verb)); + g = json_object_new_object(); + json_object_object_add(a, "200", g); + json_object_object_add(g, "description", json_object_new_string(verb->info?:verb->verb)); return f; }