Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/peer.c @ 32676: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 | 7c65c7054905 |
children | d2ef8926b960 |
comparison
equal
deleted
inserted
replaced
32675:75d20c9836c1 | 32676:32b2a17d2f92 |
---|---|
840 * Remote user is connecting to us, so we'll need to verify | 840 * Remote user is connecting to us, so we'll need to verify |
841 * that the user who connected is our friend. | 841 * that the user who connected is our friend. |
842 */ | 842 */ |
843 conn->flags |= PEER_CONNECTION_FLAG_IS_INCOMING; | 843 conn->flags |= PEER_CONNECTION_FLAG_IS_INCOMING; |
844 | 844 |
845 conn->listen_data = purple_network_listen_range(5190, 5290, SOCK_STREAM, | 845 conn->listen_data = purple_network_listen_range(5190, 5290, AF_UNSPEC, SOCK_STREAM, |
846 peer_connection_establish_listener_cb, conn); | 846 peer_connection_establish_listener_cb, conn); |
847 if (conn->listen_data != NULL) | 847 if (conn->listen_data != NULL) |
848 { | 848 { |
849 /* Opening listener socket... */ | 849 /* Opening listener socket... */ |
850 return; | 850 return; |