input/curl: remove duplicate InitEasy() call

This commit is contained in:
Max Kellermann
2016-12-19 14:38:50 +01:00
parent ccb45b6f6e
commit ceffc5aa72
2 changed files with 3 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ struct CurlInputStream final : public AsyncInputStream {
struct curl_slist *request_headers;
/** the curl handles */
CURL *easy;
CURL *easy = nullptr;
/** error message provided by libcurl */
char error_buffer[CURL_ERROR_SIZE];
@@ -79,7 +79,6 @@ struct CurlInputStream final : public AsyncInputStream {
CURL_RESUME_AT),
request_headers(nullptr),
icy(new IcyInputStream(this)) {
InitEasy();
}
~CurlInputStream();