April 06, 2010 02:12PM
On Tue, Apr 06, 2010 at 06:20:45PM +0400, Maxim Dounin wrote:

> > +
> > + /* AF_UNIX */
> > + port = 0;
> > + struct sockaddr_un *sun;

BTW, just for future reference - this code fails on Solaris with
the following strange message:

error: expected identifier or '(' before numeric constant

because Solaris defines "sun" as number to indicate Solaris platform.

I usually use
struct sockaddr_un *saun;


--
Igor Sysoev
http://sysoev.ru/en/

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Mail Auth Module - Auth-Server local unix socket support Attachments

Simon Lécaille 2826 April 06, 2010 09:24AM

Re: Mail Auth Module - Auth-Server local unix socket support

Maxim Dounin 1126 April 06, 2010 10:22AM

Re: Mail Auth Module - Auth-Server local unix socket support

Igor Sysoev 1283 April 06, 2010 02:12PM

Re: Mail Auth Module - Auth-Server local unix socket support

Igor Sysoev 1196 April 06, 2010 02:14PM

Re: Mail Auth Module - Auth-Server local unix socket support

Maxim Dounin 1152 April 06, 2010 03:34PM

Re: Mail Auth Module - Auth-Server local unix socket support

Igor Sysoev 1688 April 06, 2010 03:38PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready