diff --git a/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 b/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 index 6fe0d511f4..672160b54f 100644 --- a/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 +++ b/docs/libcurl/opts/CURLOPT_WRITEFUNCTION.3 @@ -102,7 +102,7 @@ This will return CURLE_OK. return realsize; } - struct memory chunk; + struct memory chunk = {0}; /* send all data to this function */ curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, cb);