summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
6f4abda)
Don't stop on the first error when initializing apis.
Record the error and return it at the end.
Change-Id: I1f0f50ff4e527ca5bf0e78904fccddafe54ba5f2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
*/
int afb_apiset_start_all_services(struct afb_apiset *set, int share_session)
{
*/
int afb_apiset_start_all_services(struct afb_apiset *set, int share_session)
{
while (set) {
i = 0;
while (i < set->apis.count) {
rc = start_api(set->apis.apis[i], share_session, 1);
if (rc < 0)
while (set) {
i = 0;
while (i < set->apis.count) {
rc = start_api(set->apis.apis[i], share_session, 1);
if (rc < 0)
i++;
}
set = set->subset;
}
i++;
}
set = set->subset;
}