cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: 2 different problems

From: Matthieu BERTIN <bertinm_at_esiee.fr>
Date: Wed, 02 Jun 2004 18:08:47 +0300

-------------------
> On Wed, 2 Jun 2004, Matthieu BERTIN wrote:
>
> > i know the code is ugly , but it was only meant to be a simple
test...
>
> One error I detected quickly is in what pointer you pass to
> curl_easy_getinfo(). If you read again under CURLINFO_CONTENT_TYPE
it says
>
> Pass a pointer to a 'char *'
>
> ... while your code only passes a 'char *'.
>

corrected, thanks.
But it is still not working:
i still receive 'NULL' in that char**
so it doesnt point to any char*...
i am still trying to find any other error in my code.
and i tried with several urls like apache.org that must be returnin a
correct content type ( i hope so)

sorry for being annoying...
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>

Received on 2004-06-02

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET