From ffbbccd2f0416e5a10f13410722d35c34be8c23f Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 26 May 2013 17:22:48 +0200 Subject: [PATCH] curl plugin: Fix compile issue (long vs. long*). --- src/curl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/curl.c b/src/curl.c index 3e5c578e..808603d5 100644 --- a/src/curl.c +++ b/src/curl.c @@ -676,7 +676,7 @@ static int cc_read_page (web_page_t *wp) /* {{{ */ if(wp->response_code) { - long *response_code; + long response_code = 0; status = curl_easy_getinfo(wp->curl, CURLINFO_RESPONSE_CODE, &response_code); if(status != CURLE_OK) { ERROR ("curl plugin: curl_easy_getinfo failed with staus %i: %s", -- 2.30.2