From a2569b58e3518f7f219187ffe86bdc16c6f2ca84 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 31 Aug 2011 19:07:08 +0200 Subject: [PATCH] http.c: remove double init of CURLhandle handle is initialized in setup_connection() --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index dc5ecf4..bb4482a 100644 --- a/http.c +++ b/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));