Change DALI_LOG_WARNING to DALI_LOG_ERROR in DownloadFile() 39/171139/2
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 27 Feb 2018 02:19:03 +0000 (11:19 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Tue, 27 Feb 2018 02:21:02 +0000 (02:21 +0000)
Change-Id: Ib8be9acc22db78e206dc566b136af7346745607f

dali/internal/imaging/common/file-download.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 5875156..965226d
@@ -174,7 +174,7 @@ bool DownloadFile( CURL* curlHandle,
 
   if( result != CURLE_OK)
   {
-    DALI_LOG_WARNING( "Failed to download http header for \"%s\" with error code %d\n", url.c_str(), result );
+    DALI_LOG_ERROR( "Failed to download http header for \"%s\" with error code %d\n", url.c_str(), result );
     return false;
   }
 
@@ -184,7 +184,7 @@ bool DownloadFile( CURL* curlHandle,
 
   if( size >= maximumAllowedSizeBytes )
   {
-    DALI_LOG_WARNING( "File content length %f > max allowed %zu \"%s\" \n", size, maximumAllowedSizeBytes, url.c_str() );
+    DALI_LOG_ERROR( "File content length %f > max allowed %zu \"%s\" \n", size, maximumAllowedSizeBytes, url.c_str() );
     return false;
   }
   else if( size > 0 )
@@ -200,7 +200,7 @@ bool DownloadFile( CURL* curlHandle,
 
   if( result != CURLE_OK )
   {
-    DALI_LOG_WARNING( "Failed to download image file \"%s\" with error code %d\n", url.c_str(), result );
+    DALI_LOG_ERROR( "Failed to download image file \"%s\" with error code %d\n", url.c_str(), result );
     return false;
   }
   return true;