cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl --libcurl option

From: Gisle Vanem <giva_at_bgnett.no>
Date: Fri, 26 Jan 2007 16:21:33 +0100

The new "--libcurl" option on Win32 prints:

  curl_easy_setopt(hnd, CURLOPT_MAX_SEND_SPEED_LARGE, (curl_off_t)64d);
  curl_easy_setopt(hnd, CURLOPT_MAX_RECV_SPEED_LARGE, (curl_off_t)64d);

I cannot see why it shouldn't print "(curl_off_t)0" since the code expands to:

    curl_off_t oval = va_arg(arg, curl_off_t);
    snprintf(value, sizeof(value), "(curl_off_t)%I64d", oval);

Anybody else see this on Win32 (MingW)?

--gv
Received on 2007-01-26