curl-library
Re: 2 different problems
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
>
- application/zip attachment: inetlib.zip