Changeset c84e31a


Ignore:
Timestamp:
2008-02-07T21:25:18Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7adc657
Parents:
69ac78c
Message:

Fixed getnameinfo() calls, this fixes Solaris stability issues. Thanks to
Logan O'Sullivan Bruns for the report.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r69ac78c rc84e31a  
    7474
    7575                if( getnameinfo( (struct sockaddr *) &sock, socklen, buf,
    76                                  NI_MAXHOST, NULL, -1, 0 ) == 0 )
     76                                 NI_MAXHOST, NULL, 0, 0 ) == 0 )
    7777                {
    7878                        irc->myhost = g_strdup( ipv6_unwrap( buf ) );
     
    8585
    8686                if( getnameinfo( (struct sockaddr *)&sock, socklen, buf,
    87                                  NI_MAXHOST, NULL, -1, 0 ) == 0 )
     87                                 NI_MAXHOST, NULL, 0, 0 ) == 0 )
    8888                {
    8989                        irc->host = g_strdup( ipv6_unwrap( buf ) );
Note: See TracChangeset for help on using the changeset viewer.