X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-monitor.c;h=25e148f570dd7eff83956fcb097f3f2e89361cd8;hb=2f38d2ea0537107def8514dc2e0c680ff8d31ca8;hp=a53f75a3cc3632a0974c91c270bcf52bdee72f6b;hpb=b55f3cd48507105e85894be89557787eccfbe22f;p=src%2Fapp-framework-binder.git diff --git a/src/afb-monitor.c b/src/afb-monitor.c index a53f75a3..25e148f5 100644 --- a/src/afb-monitor.c +++ b/src/afb-monitor.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016-2019 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -22,6 +22,7 @@ #include #define AFB_BINDING_VERSION 3 +#define AFB_BINDING_NO_ROOT #include #include "afb-api.h" @@ -31,6 +32,7 @@ #include "afb-xreq.h" #include "afb-trace.h" #include "afb-session.h" +#include "afb-error-text.h" #include "verbose.h" #include "wrap-json.h" @@ -449,7 +451,7 @@ end: #else static void f_trace(afb_req_t req) { - afb_req_reply(req, NULL, "not-available", NULL); + afb_req_reply(req, NULL, afb_error_text_not_available, NULL); } #endif