Mail Auth Module - Auth-Server local unix socket support
    Igor Sysoev 
    igor at sysoev.ru
       
    Tue Apr  6 22:11:13 MSD 2010
    
    
  
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/
    
    
More information about the nginx-devel
mailing list