From: Erik Cunningham Date: Wed, 17 Jun 2009 16:24:24 +0000 (-0600) Subject: http plugin: don't copy the error buffer X-Git-Tag: collectd-4.8.0~26^2~26 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4701c950775572616456139ac65539924e1cdb94;p=collectd.git http plugin: don't copy the error buffer --- diff --git a/src/http.c b/src/http.c index a1d0e531..6aad9de0 100644 --- a/src/http.c +++ b/src/http.c @@ -44,7 +44,7 @@ char *user; char *pass; char *credentials; -static int http_init_curl(CURL *curl, char curl_errbuf[]) +static int http_init_curl(CURL *curl, char *curl_errbuf) { struct curl_slist *headers=NULL;