diff options
Diffstat (limited to 'src/irc/dcc')
-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 37bc7854..712583d8 100644 --- a/src/irc/dcc/dcc.c +++ b/src/irc/dcc/dcc.c @@ -208,7 +208,7 @@ GIOChannel *dcc_listen(GIOChannel *iface, IPADDR *ip, int *port) if (first == 0) { /* random port */ *port = 0; - return net_listen(ip, port); + return net_listen(NULL, port); } /* get last port */ @@ -226,7 +226,7 @@ GIOChannel *dcc_listen(GIOChannel *iface, IPADDR *ip, int *port) /* use the first available port */ for (*port = first; *port <= last; (*port)++) { - handle = net_listen(ip, port); + handle = net_listen(NULL, port); if (handle != NULL) return handle; } |