Apply tizen coding rule 63/95863/1 accepted/tizen/common/20161109.140228 accepted/tizen/ivi/20161109.002817 accepted/tizen/mobile/20161109.002425 accepted/tizen/tv/20161109.002639 accepted/tizen/wearable/20161109.002733 submit/tizen/20161108.054351
authorJiyong Min <jiyong.min@samsung.com>
Mon, 7 Nov 2016 03:57:34 +0000 (12:57 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Mon, 7 Nov 2016 03:59:02 +0000 (19:59 -0800)
Change-Id: Ibbb72f5637119877d267f3f6cdd1a21646ac34a2
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
src/media_util_private.c

index 9d6cb2795dfbd35d68b08b828dd3d3d395eba810..db15289ec9079c9dfde77ac5e6aacb94e4f89e9c 100755 (executable)
@@ -194,7 +194,7 @@ int _media_content_replace_path_in_condition(const char *condition, char *replac
                        media_content_error("memory allocation failed");
                        return MEDIA_CONTENT_ERROR_INVALID_OPERATION;
                }
-               while(*cond_ptr != '\0') {
+               while (*cond_ptr != '\0') {
                        if (strlen(cond_ptr) < strlen(old_path)) {
                                memcpy(repl_cond_ptr, cond_ptr, strlen(cond_ptr));
                                break;
@@ -249,7 +249,7 @@ int _media_content_rollback_path_in_condition(const char *condition, char *repla
                        media_content_error("memory allocation failed");
                        return MEDIA_CONTENT_ERROR_INVALID_OPERATION;
                }
-               while(*cond_ptr != '\0') {
+               while (*cond_ptr != '\0') {
                        if (strlen(cond_ptr) < strlen(tzplatform_getenv(TZ_USER_CONTENT))) {
                                memcpy(repl_cond_ptr, cond_ptr, strlen(cond_ptr));
                                break;