From a8d4f9bf3e635630fac0acdea7b3f3bca5feaf97 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Tue, 8 Oct 2019 11:11:51 +0900 Subject: [PATCH] Modify _content_error_capi Fix for deleting some media-server error types. Change-Id: I67f35f9f8e7dc968eb225853cf5c83468b27890b Signed-off-by: Minje Ahn --- src/media_content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/media_content.c b/src/media_content.c index c0bd0b7..71d4b30 100644 --- a/src/media_content.c +++ b/src/media_content.c @@ -156,7 +156,7 @@ int _content_error_capi(int content_error) else if (content_error == MS_MEDIA_ERR_DB_BUSY_FAIL) return MEDIA_CONTENT_ERROR_DB_BUSY; - else if ((content_error <= MS_MEDIA_ERR_DB_CONNECT_FAIL) && (content_error >= MS_MEDIA_ERR_DB_INTERNAL)) + else if ((content_error <= MS_MEDIA_ERR_DB_CONSTRAINT_FAIL) && (content_error >= MS_MEDIA_ERR_DB_INTERNAL)) return MEDIA_CONTENT_ERROR_DB_FAILED; /* IPC operation error*/ -- 2.7.4