Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afm-run: minor fixes
[src/app-framework-main.git]
/
src
/
afm-run.c
diff --git
a/src/afm-run.c
b/src/afm-run.c
index
131f9cb
..
8e76a99
100644
(file)
--- a/
src/afm-run.c
+++ b/
src/afm-run.c
@@
-496,12
+496,12
@@
error:
* runner. This is made using json_object_get. Thus be aware
* that further modifications to 'appli' might create errors.
*
* runner. This is made using json_object_get. Thus be aware
* that further modifications to 'appli' might create errors.
*
- * Returns
0
in case of success or -1 in case of error
+ * Returns
the runid
in case of success or -1 in case of error
*/
int afm_run_start(struct json_object *appli, enum afm_launch_mode mode,
char **uri)
{
*/
int afm_run_start(struct json_object *appli, enum afm_launch_mode mode,
char **uri)
{
- st
atic st
ruct apprun *runner;
+ struct apprun *runner;
struct afm_launch_desc desc;
int rc;
sigset_t saved, blocked;
struct afm_launch_desc desc;
int rc;
sigset_t saved, blocked;