curl-library
Re: 2 different problems
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 2 Jun 2004 16:43:34 +0200 (CEST)
Date: Wed, 2 Jun 2004 16:43:34 +0200 (CEST)
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 *'.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-06-02