Apply tizen coding rule 90/49690/1 accepted/tizen/mobile/20151019.074136 accepted/tizen/tv/20151019.074148 accepted/tizen/wearable/20151019.074201 submit/tizen/20151019.053129 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
authorHaejeong, Kim <backto.kim@samsung.com>
Mon, 19 Oct 2015 05:12:54 +0000 (14:12 +0900)
committerHaejeong, Kim <backto.kim@samsung.com>
Mon, 19 Oct 2015 05:12:54 +0000 (14:12 +0900)
Change-Id: I8445a87b00041823f56868ec910fa9f4c1942a43

src/scanner/media-scanner-scan.c

index f55d6a4..0400d25 100755 (executable)
@@ -265,7 +265,7 @@ static int __msc_check_stop_status(ms_storage_type_t storage_type)
        /*check SD card in out */
 #if 0
        if ((mmc_state != MS_STG_INSERTED) && (storage_type == MS_STORAGE_EXTERNAL)) {
-               MS_DBG_ERR(fmt,args...)("Directory scanning is stopped");
+               MS_DBG_ERR("Directory scanning is stopped");
                ret = MS_MEDIA_ERR_SCANNER_FORCE_STOP;
        }
 #endif
@@ -772,7 +772,7 @@ gboolean msc_directory_scan_thread(void *data)
                                MS_DBG_SLOG("delete count %d", delete_count);
                                MS_DBG_SLOG("insert count %d", insert_count);
 
-                               if (!(delete_count == 0 && insert_count == 0) 
+                               if (!(delete_count == 0 && insert_count == 0)
                                        || !(before_count == after_count)
                                        || delete_folder_count != 0) {
                                        ms_send_dir_update_noti(handle, storage_id, scan_data->msg, folder_uuid, noti_type, scan_data->pid);