cURL / Mailing Lists / curl-library / Single Mail


Re: HTTP client as new child process

From: Linus Nielsen Feltzing <>
Date: Wed, 20 Feb 2013 15:36:32 +0100

On 02/20/2013 02:38 PM, Ajay Tanpure wrote:
> I am getting data from parent process. When i run this program without
> any libcurl functionality, i.e. standalone program for process
> communication, i get data in "a" then why not in case with libcurl?

When you don't initialize a pointer (like in your example libcurl code),
anything can happen, since the pointer can point anywhere in memory.

So if you're not initializing "a" in your other code, it probably works
because of pure luck.

List admin:
Received on 2013-02-20