http.c: remove double init of CURLhandle
handle is initialized in setup_connection()
This commit is contained in:
parent
8b649d35f6
commit
a2569b58e3
1 changed files with 1 additions and 1 deletions
2
http.c
2
http.c
|
|
@ -134,7 +134,7 @@ static CURL* setup_connection(const char *url) {
|
|||
|
||||
struct http_data* http_fetch_page(const char *url) {
|
||||
|
||||
CURL *handle = curl_easy_init();
|
||||
CURL *handle;
|
||||
CURLcode res;
|
||||
struct http_data *data = malloc(sizeof(struct http_data));
|
||||
|
||||
|
|
|
|||
Reference in a new issue