cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: 7.9.6 sparc-sun-solaris2.4 ftp timeout after connect?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 29 Apr 2002 15:10:19 +0200 (MET DST)

On Mon, 29 Apr 2002, Rich Gray wrote:

> > #if defined(HAVE_O_NONBLOCK)
> > # undef HAVE_O_NONBLOCK
> > # define HAVE_O_FIONBIO
> > #endif
>
> "connect.c", line 149: #error: "no non-blocking method was found/used/set"
> cc: acomp failed for connect.c
> *** Error code 1

Uuuh. My fault, didn't check it properly. It should be like this:

#if defined(HAVE_O_NONBLOCK)
# undef HAVE_O_NONBLOCK
# define HAVE_FIONBIO
#endif

There was a typo on the #define line...

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-29