- Changes return values
Change-Id: I3b5898f5f6f96d8bd70098b160c77a030c005d1a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
int ret;
if (parent_appid == NULL || child_appid == NULL)
- return -1;
+ return AUL_R_EINVAL;
b = bundle_create();
if (!b) {
_E("out of memory");
- return -1;
+ return AUL_R_ENOMEM;
}
bundle_add_str(b, AUL_K_PARENT_APPID, parent_appid);
int ret;
if (child_appid == NULL)
- return -1;
+ return AUL_R_EINVAL;
b = bundle_create();
if (!b) {
_E("out of memory");
- return -1;
+ return AUL_R_ENOMEM;
}
bundle_add_str(b, AUL_K_CHILD_APPID, child_appid);