cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: CURLE_FAILED_INIT (2) error?

From: David Byron <DByron_at_everdreamcorp.com>
Date: Mon, 15 Mar 2004 08:24:26 -0800

On Sun, 14 Mar 2004, Admir Efendic said:

> I have piece of code that has been working well for 2 years
> (on redhat, various releases). I tested it (unmodified) on
> Gentoo with glibc-2.3.2, gcc-3.3.2 and curl-7.11.0.
>
> The curl_easy_perform() fails with CURLE_FAILED_INIT result
> code. All init functions are OK.
>
> Last time I run this code on gentoo it was with curl-7.9.x,
> and it went well.

Could this be because of the patch I sent in to main.c that went in 1.242 to
check the return value of main_init? If curl_global_init fails, this is
what curl returns.

This change did go in after 7.11.0...

-DB
Received on 2004-03-15