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
Bindings V1: allows to receive event
[src/app-framework-binder.git]
/
src
/
afb-svc.c
diff --git
a/src/afb-svc.c
b/src/afb-svc.c
index
b4032e3
..
b492520
100644
(file)
--- a/
src/afb-svc.c
+++ b/
src/afb-svc.c
@@
-194,9
+194,11
@@
struct afb_svc *afb_svc_create_v1(
}
/* initialises the svc now */
- rc = start(to_afb_service(svc));
- if (rc < 0)
- goto error;
+ if (start) {
+ rc = start(to_afb_service(svc));
+ if (rc < 0)
+ goto error;
+ }
return svc;