cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl 7.2.1 patch to specify http request output port

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Sep 2000 10:27:52 +0200 (MET DST)

On Wed, 20 Sep 2000 Joern.Hartroth_at_comma-soft.com wrote:

> Hrm, your new function for interface selection indeed doesn't work on
> win32 due to missing headers and libs ("net/if.h" I suspect). No problem,
> though, we just won't be able to use your code on win32 (activate the
> #ifdef LINUX).

Hm, I think it can be made to work on win32. If we just figure out what
include files to use and not etc.

> Another glitch appears in curl-7.3-pre5's src/main.c where an element
> named "interface" was added to struct Configurable. This is a reserved
> word for MingW32 gcc and consequently chokes the compiler. Please
> consider renaming the variable to "iface" or some such (patch below).

Applied gracefully. Thanks!

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-09-20