cURL / Mailing Lists / curl-library / Single Mail


Re: Empty HTTP POST request

From: Max Burke <>
Date: Thu, 12 Jan 2012 20:07:58 -0800

On Thu, Jan 12, 2012 at 10:41 AM, Dan Fandrich <> wrote:
> The first and last pointers are not being initialized to NULL before
> calling curl_formadd. When libcurl gets the, it finds garbage it can't
> do anything with. If you look at the return code of curl_formadd, you'll
> probably see an error code returned.

Doh, that was definitely it. Thanks!

The calls to curl_formadd were returning CURLE_OK, strangely.

List admin:
Received on 2012-01-13