http plugin: don't copy the error buffer
authorErik Cunningham <ewc@absolute-performance.com>
Wed, 17 Jun 2009 16:24:24 +0000 (10:24 -0600)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Fri, 21 Aug 2009 06:41:53 +0000 (08:41 +0200)
src/http.c

index a1d0e53..6aad9de 100644 (file)
@@ -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;