X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=blobdiff_plain;f=src%2Fafb-export.c;h=0e06dae12e2f15868b40b8e3b250fb9acb7d4416;hp=f96f8f81ef8b5c63065073618bf799932e5dba16;hb=74a7ebbea3d36158aabbda85d2aeb5a1b3a9daa9;hpb=7386e1c5090b4e76036bc212f2a2cf32920bb160 diff --git a/src/afb-export.c b/src/afb-export.c index f96f8f81..0e06dae1 100644 --- a/src/afb-export.c +++ b/src/afb-export.c @@ -49,6 +49,7 @@ #include "afb-session.h" #include "afb-xreq.h" #include "afb-calls.h" +#include "afb-error-text.h" #include "systemd.h" #include "jobs.h" @@ -1818,7 +1819,7 @@ static void api_call_cb(void *closure, struct afb_xreq *xreq) afb_api_v3_process_call(export->desc.v3, xreq); break; default: - afb_xreq_reply(xreq, NULL, "bad-api-type", NULL); + afb_xreq_reply(xreq, NULL, afb_error_text_internal_error, NULL); break; } }