X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=bindings%2Fsamples%2FHelloWorld.c;h=89ed829cccba2b34324d698ef826770e9be8a22f;hb=43a983c688b235bf28c20c960b811dccc489758c;hp=77de24a2551cedfbf4086749bf629ddb96bbddd7;hpb=d3cb597b2161a4a7c5494cb570e47b082a80c316;p=src%2Fapp-framework-binder.git diff --git a/bindings/samples/HelloWorld.c b/bindings/samples/HelloWorld.c index 77de24a2..89ed829c 100644 --- a/bindings/samples/HelloWorld.c +++ b/bindings/samples/HelloWorld.c @@ -361,7 +361,7 @@ static void exitnow (afb_req request) if (!json_object_object_get_ex(query,"reason",&l)) l = NULL; - REQ_NOTICE(request, "in phase of exiting with code %d, reason: %s", code, l ? json_object_get_string(l) : "unknown"); + AFB_REQ_NOTICE(request, "in phase of exiting with code %d, reason: %s", code, l ? json_object_get_string(l) : "unknown"); afb_req_success(request, NULL, NULL); exit(code); } @@ -393,19 +393,19 @@ static void broadcast(afb_req request) static int preinit() { - NOTICE("hello binding comes to live"); + AFB_NOTICE("hello binding comes to live"); return 0; } static int init() { - NOTICE("hello binding starting"); + AFB_NOTICE("hello binding starting"); return 0; } static void onevent(const char *event, struct json_object *object) { - NOTICE("received event %s(%s)", event, json_object_to_json_string(object)); + AFB_NOTICE("received event %s(%s)", event, json_object_to_json_string(object)); } // NOTE: this sample does not use session to keep test a basic as possible