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: adds control
[src/app-framework-main.git]
/
src
/
afm-run.c
diff --git
a/src/afm-run.c
b/src/afm-run.c
index
c414ceb
..
4ab77a8
100644
(file)
--- a/
src/afm-run.c
+++ b/
src/afm-run.c
@@
-282,6
+282,8
@@
int afm_run_start(struct json_object *appli, enum afm_launch_mode mode, char **u
sigset_t saved, blocked;
assert(launch_mode_is_valid(mode));
+ assert(mode == mode_local || uri != NULL);
+ assert(uri == NULL || *uri == NULL);
/* prepare to launch */
rc = fill_launch_desc(appli, mode, &desc);