Mercurial > pidgin
diff libpurple/protocols/simple/simple.c @ 32215:32b2a17d2f92
Rename purple_network_listen_range_family() to purple_network_listen_range().
author | andrew.victor@mxit.com |
---|---|
date | Sat, 24 Sep 2011 20:48:59 +0000 |
parents | c6943fd38d44 |
children | d2ef8926b960 |
line wrap: on
line diff
--- a/libpurple/protocols/simple/simple.c Sat Sep 24 20:36:47 2011 +0000 +++ b/libpurple/protocols/simple/simple.c Sat Sep 24 20:48:59 2011 +0000 @@ -1823,7 +1823,7 @@ } /* create socket for incoming connections */ - sip->listen_data = purple_network_listen_range(5060, 5160, SOCK_DGRAM, + sip->listen_data = purple_network_listen_range(5060, 5160, AF_UNSPEC, SOCK_DGRAM, simple_udp_host_resolved_listen_cb, sip); if (sip->listen_data == NULL) { purple_connection_error(sip->gc, @@ -1893,7 +1893,7 @@ /* TCP case */ if(!sip->udp) { /* create socket for incoming connections */ - sip->listen_data = purple_network_listen_range(5060, 5160, SOCK_STREAM, + sip->listen_data = purple_network_listen_range(5060, 5160, AF_UNSPEC, SOCK_STREAM, simple_tcp_connect_listen_cb, sip); if (sip->listen_data == NULL) { purple_connection_error(sip->gc,