diff options
| author | Sven Moritz Hallberg <sm@khjk.org> | 2008-02-16 18:15:31 +0100 | 
|---|---|---|
| committer | Sven Moritz Hallberg <sm@khjk.org> | 2008-02-16 18:15:31 +0100 | 
| commit | 4eb4c0f4beeb87e07bd6b10daed8fe8e48fb4206 (patch) | |
| tree | a54ec7b6b4622aa35ef7bd1efc58ab8ec45749ae /bitlbee.c | |
| parent | 896195002cc903ec4b1ef7e1468f73c1dc08df9e (diff) | |
| parent | ca605509d0b49e6012d10ae5d1553ced007e6ce7 (diff) | |
merge in upstream changes
Diffstat (limited to 'bitlbee.c')
| -rw-r--r-- | bitlbee.c | 6 | 
1 files changed, 5 insertions, 1 deletions
| @@ -47,7 +47,11 @@ int bitlbee_daemon_init()  	memset( &hints, 0, sizeof( hints ) );  	hints.ai_family = PF_UNSPEC;  	hints.ai_socktype = SOCK_STREAM; -	hints.ai_flags = AI_ADDRCONFIG | AI_PASSIVE; +	hints.ai_flags = AI_PASSIVE +#ifdef AI_ADDRCONFIG +	               | AI_ADDRCONFIG +#endif +	;  	i = getaddrinfo( global.conf->iface, global.conf->port, &hints, &addrinfo_bind );  	if( i ) | 
