Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update copyright date
[src/app-framework-binder.git]
/
src
/
afb-apiset.c
diff --git
a/src/afb-apiset.c
b/src/afb-apiset.c
index
6229b37
..
90653d0
100644
(file)
--- a/
src/afb-apiset.c
+++ b/
src/afb-apiset.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2016
, 2017, 2018
"IoT.bzh"
+ * Copyright (C) 2016
-2019
"IoT.bzh"
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-784,15
+784,15
@@
static int start_api(struct api_desc *api)
return -1;
}
return -1;
}
-
INFO
("API %s starting...", api->name);
+
NOTICE
("API %s starting...", api->name);
api->status = EBUSY;
rc = start_array_classes(&api->require.classes);
if (rc < 0)
api->status = EBUSY;
rc = start_array_classes(&api->require.classes);
if (rc < 0)
- ERROR("Can start classes needed by api %s", api->name);
+ ERROR("Can
not
start classes needed by api %s", api->name);
else {
rc = start_array_depends(&api->require.apis);
if (rc < 0)
else {
rc = start_array_depends(&api->require.apis);
if (rc < 0)
- ERROR("Can start apis needed by api %s", api->name);
+ ERROR("Can
not
start apis needed by api %s", api->name);
else if (api->api.itf->service_start) {
rc = api->api.itf->service_start(api->api.closure);
if (rc < 0)
else if (api->api.itf->service_start) {
rc = api->api.itf->service_start(api->api.closure);
if (rc < 0)
@@
-803,7
+803,7
@@
static int start_api(struct api_desc *api)
api->status = errno ?: ECANCELED;
return -1;
}
api->status = errno ?: ECANCELED;
return -1;
}
-
NOTICE
("API %s started", api->name);
+
INFO
("API %s started", api->name);
api->status = 0;
return 0;
}
api->status = 0;
return 0;
}