Remove meaningless condition check on curl_multi 17/53317/1
authorKyungwook Tak <k.tak@samsung.com>
Fri, 4 Dec 2015 01:35:46 +0000 (10:35 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Fri, 4 Dec 2015 01:37:25 +0000 (10:37 +0900)
Change-Id: Id4a449001942a07bf90595b48e51899c10b2e214
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
agent/download-agent-plugin-libcurl.c

index 1fee899..b5500a6 100644 (file)
@@ -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)