cURL / Mailing Lists / curl-library / Single Mail


Re: 2 different problems

From: Daniel Stenberg <>
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 -- --
      Dedicated custom curl help for hire:
Received on 2004-06-02