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