summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2015-01-20 09:34:13 +0100
committerBaptiste DURAND <baptiste.durand@open.eurogiciel.org>2015-01-20 09:36:58 +0100
commit70f6b2c9e5bb1e3a4071c60597c8cff9fa1ce035 (patch)
tree08788c935c6fc3926f830bbb2a2a8a201a32b6a6
parent0d949a469c25c6ace4b406a619c48c9534141045 (diff)
downloadaul-1-tizen_3.0.2015.q1_common.tar.gz
aul-1-tizen_3.0.2015.q1_common.tar.bz2
aul-1-tizen_3.0.2015.q1_common.zip
Change-Id: I362baf3ccf32cc70092f74b18347fed2194cf62a Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
-rw-r--r--app_launcher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app_launcher.c b/app_launcher.c
index 45f40c71..233b0d4c 100644
--- a/app_launcher.c
+++ b/app_launcher.c
@@ -91,7 +91,7 @@ static gboolean run_func(void *data)
struct launch_arg* launch_arg_data = NULL;
launch_arg_data = (struct launch_arg*)data;
if ((pid = launch((char*)launch_arg_data->applicationId,launch_arg_data->flag_debug)) > 0) {
- printf("... successfully launched\n");
+ printf("... successfully launched whit debug %d\n",launch_arg_data->flag_debug);
} else {
printf("... launch failed\n");
}
@@ -208,6 +208,7 @@ int main(int argc, char **argv)
{ "debug", no_argument, 0, 'd' },
{ 0, 0, 0, 0 }
};
+ memset(&args,0,sizeof(struct launch_arg));
do {
next_opt = getopt_long(argc,