Archived
1
0
Fork 0

http.c: remove double init of CURLhandle

handle is initialized in setup_connection()
This commit is contained in:
Henrik Hautakoski 2011-08-31 19:07:08 +02:00
parent 8b649d35f6
commit a2569b58e3

2
http.c
View file

@ -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));