- Timestamp:
- 2006-01-04T11:16:58Z (19 years ago)
- Branches:
- master
- Children:
- 0196c47
- Parents:
- 13c4cd3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r13c4cd3 r2a6ca4f 83 83 irc->myhost = g_strdup( peer->h_name ); 84 84 else if( inet_ntop( AF_INETx, &sock->sin6_addr, buf, sizeof( buf ) - 1 ) != NULL ) 85 irc->myhost = g_strdup( buf);85 irc->myhost = g_strdup( ipv6_unwrap( buf ) ); 86 86 } 87 87 #else … … 102 102 irc->host = g_strdup( peer->h_name ); 103 103 else if( inet_ntop( AF_INETx, &sock->sin6_addr, buf, sizeof( buf ) - 1 ) != NULL ) 104 irc->host = g_strdup( buf);104 irc->host = g_strdup( ipv6_unwrap( buf ) ); 105 105 } 106 106 #else … … 114 114 #endif 115 115 116 /* Rare, but possible. */ 116 117 if( !irc->host ) irc->host = g_strdup( "localhost." ); 117 118 if( !irc->myhost ) irc->myhost = g_strdup( "localhost." );
Note: See TracChangeset
for help on using the changeset viewer.