mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 07:32:04 +02:00
fixed some signed/unsigned issues
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1304 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
fb488720f5
commit
51c1fee749
5 changed files with 11 additions and 11 deletions
|
|
@ -181,9 +181,9 @@ void dcc_str2ip(const char *str, IPADDR *ip)
|
|||
}
|
||||
|
||||
/* Start listening for incoming connections */
|
||||
GIOChannel *dcc_listen(GIOChannel *interface, IPADDR *ip, int *port)
|
||||
GIOChannel *dcc_listen(GIOChannel *iface, IPADDR *ip, int *port)
|
||||
{
|
||||
if (net_getsockname(interface, ip, NULL) == -1)
|
||||
if (net_getsockname(iface, ip, NULL) == -1)
|
||||
return NULL;
|
||||
|
||||
*port = settings_get_int("dcc_port");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue