Correct use of IN6ADDR_ANY_INIT initialiser, fixes IPv6 build on Intel ICC.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@105 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
[Changes 1.2c01]
|
||||
|
||||
* Apply fix from darkfires to allow building with ICC. (caf)
|
||||
|
||||
* Show correct message when a socket connection is closed cleanly. (caf)
|
||||
|
||||
* Add /FSET WHOIS_CALLERID for +g mode notification on hybrid & ratbox. (caf)
|
||||
|
||||
@@ -456,7 +456,7 @@ int BX_connect_by_number(char *hostn, unsigned short *portnum, int service, int
|
||||
#endif
|
||||
struct sockaddr_foobar name;
|
||||
#ifdef IPV6
|
||||
struct in6_addr any = { IN6ADDR_ANY_INIT };
|
||||
struct in6_addr any = IN6ADDR_ANY_INIT;
|
||||
|
||||
memset(&name, 0, sizeof(struct sockaddr_foobar));
|
||||
name.sf_family = AF_INET6;
|
||||
|
||||
Reference in New Issue
Block a user