From e16ee7e329e45ae957c8647c5790ff8f10dd5ec1 Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Mon, 22 Mar 2021 13:03:41 +0900 Subject: [PATCH] Add a missing error case If the return value of AUL function is AUL_R_ECANCELED, the function should return AUL_SVC_RET_ECANCLED. Change-Id: Ie23c23c8b6b0461d4f618507ef58140b9d9b5867 Signed-off-by: Hwankyu Jhun --- src/aul_svc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aul_svc.cc b/src/aul_svc.cc index c386289..00fc4a3 100644 --- a/src/aul_svc.cc +++ b/src/aul_svc.cc @@ -201,6 +201,8 @@ int AulErrorConvert(int res) { return AUL_SVC_RET_EREJECTED; case AUL_R_ENOAPP: return AUL_SVC_RET_ENOMATCH; + case AUL_R_ECANCELED: + return AUL_SVC_RET_ECANCELED; default: return AUL_SVC_RET_ELAUNCH; } -- 2.7.4