Code

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 a1d0e5316f37706235317aaac2a0519db1f02ccd..6aad9de072ed7e49f6a21640d5a4c4ea47dc1ca3 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;