mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Some fixes for compiling with Win32 :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@783 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c6808b3724
commit
df10f182c0
8 changed files with 50 additions and 12 deletions
|
|
@ -303,7 +303,7 @@ int net_getsockname(int handle, IPADDR *addr, int *port)
|
|||
#ifdef HAVE_IPV6
|
||||
if (getsockname(handle, &so.sin6, &len) == -1)
|
||||
#else
|
||||
if (getsockname(handle, &so.sin, &len) == -1)
|
||||
if (getsockname(handle, (struct sockaddr *) &so.sin, &len) == -1)
|
||||
#endif
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue