diff options
Diffstat (limited to 'src/irc/dcc/dcc.c')
-rw-r--r-- | src/irc/dcc/dcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/dcc/dcc.c b/src/irc/dcc/dcc.c index 7b07e5d3..326d922d 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -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"); |