cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: post binary data using curlopt_postfields option

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 9 Jun 2010 01:37:50 -0500

On Wed, Jun 9, 2010 at 1:25 AM, Vemana Yogi wrote:

First of all - please don't top-post, read:
  http://curl.haxx.se/mail/etiquette.html

> curl_easy_setopt(handle, CURLOPT_POSTFIELDS, buff);
> curl_easy_setopt(handle, CURLOPT_POSTFIELDSIZE, bs->size());

I assume this is just a typo, but i wonder why you are using data
from something named "buff" and passing the size of something
named "bs"

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-09