fix socket time out , no content occur 46/165846/1 accepted/tizen/4.0/unified/20180111.051001 submit/tizen_4.0/20180105.024851
authorchen89.chen <chen89.chen@samsung.com>
Thu, 4 Jan 2018 07:00:13 +0000 (15:00 +0800)
committerhj kim <backto.kim@samsung.com>
Thu, 4 Jan 2018 09:11:14 +0000 (18:11 +0900)
Change-Id: Ic17242eda752f9be85b01778249ffdd9f049a335

src/scanner-v2/media-scanner-extract-v2.c

index 7fe05d6..0934f2e 100755 (executable)
@@ -119,12 +119,12 @@ int __msc_folder_bulk_extract(void **handle, const char* storage_id, int storage
        ret = ms_get_extract_list(handle, storage_id, storage_type, scan_type, path, burst, uid, (void*)&data_array);
        if (ret != MS_MEDIA_ERR_NONE) {
                MS_DBG_ERR("ms_get_extract_list failed!!!");
-               return ret;
+               return MS_MEDIA_ERR_NONE;
        }
 
        if (data_array == NULL) {
                MS_DBG_ERR("data_array is NULL!!!");
-               return MS_MEDIA_ERR_INTERNAL;
+               return MS_MEDIA_ERR_NONE;
        }
 
        while (data_array->len != 0) {
@@ -154,7 +154,7 @@ int __msc_folder_bulk_extract(void **handle, const char* storage_id, int storage
        }
 
        if (extract_count > 0)
-               ret = ms_query_do_update_list(handle);
+               ms_query_do_update_list(handle);
 
        while (data_array->len != 0) {
                db_data = NULL;