apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: cvs commit: apr/network_io/unix sockets.c
Date Wed, 08 Aug 2001 02:29:34 GMT
On Tue, 7 Aug 2001, Cliff Woolley wrote:

> > + if ((rc = getsockopt(sock->socketdes, SOL_SOCKET, SO_ERROR,
> &error, &len)) < 0) {

It seems that len really ought to be an int, not an apr_size_t... I'm
getting incompatible pointer type warnings on Solaris.

I checked the man pages on Solaris, HP-UX, and msdn.microsoft.com, and
they all specifically say "int" for SO_ERROR.

Does that jive?

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message