mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
union { .. } addr removed from IPADDR - it hasn't been actually used
for a long time.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1339 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
38fbd48712
commit
62bd2045bb
3 changed files with 16 additions and 18 deletions
|
|
@ -17,13 +17,11 @@
|
|||
|
||||
struct _IPADDR {
|
||||
unsigned short family;
|
||||
union {
|
||||
#ifdef HAVE_IPV6
|
||||
struct in6_addr ip6;
|
||||
struct in6_addr ip;
|
||||
#else
|
||||
struct in_addr ip;
|
||||
struct in_addr ip;
|
||||
#endif
|
||||
} addr;
|
||||
};
|
||||
|
||||
/* maxmimum string length of IP address */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue