Add notification message for added API
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 3 Apr 2017 15:33:35 +0000 (17:33 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 3 Apr 2017 15:33:35 +0000 (17:33 +0200)
Change-Id: I797afeaa0758f2fef854a1ffaee398aff6c9041e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-apis.c

index a0af080..cce21e0 100644 (file)
@@ -136,6 +136,8 @@ int afb_apis_add(const char *name, struct afb_api api)
        apis->name = name;
        apis_count++;
 
        apis->name = name;
        apis_count++;
 
+       NOTICE("API %s added", name);
+
        return 0;
 
 error:
        return 0;
 
 error: