From 93585383cea0e8b90e19005af8b15366b57a4276 Mon Sep 17 00:00:00 2001 From: Kyungwook Tak Date: Fri, 4 Dec 2015 10:35:46 +0900 Subject: [PATCH] Remove meaningless condition check on curl_multi Change-Id: Id4a449001942a07bf90595b48e51899c10b2e214 Signed-off-by: Kyungwook Tak --- agent/download-agent-plugin-libcurl.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/agent/download-agent-plugin-libcurl.c b/agent/download-agent-plugin-libcurl.c index 1fee899..b5500a6 100644 --- a/agent/download-agent-plugin-libcurl.c +++ b/agent/download-agent-plugin-libcurl.c @@ -551,12 +551,6 @@ da_ret_t PI_http_start(da_info_t *da_info) res = curl_easy_perform(curl); DA_LOGD("perform done! res[%d]",res); if (res != CURLE_OK) { - //DA_LOGE("Fail to send data :%d[%s]", res, curl_easy_strerror(res)); - DA_LOGE("Fail to perform :%d[%s]", res, curl_multi_strerror(res)); - if (strlen(err_buffer) > 1) - DA_LOGE("Fail to error buffer[%s]", err_buffer); - } - if (res != CURLE_OK) { //DA_LOGE("Fail to send data :%d[%s]", res, curl_easy_strerror(res)); DA_LOGE("Fail to send data :%d[%s]", res, curl_easy_strerror(res)); if (strlen(err_buffer) > 1) -- 2.7.4