Mercurial > pidgin.yaz
diff libpurple/protocols/yahoo/libymsg.c @ 32675:75d20c9836c1
Remove the deprecated purple_network_listen(), and rename the newer
purple_network_listen_family() to renamed to purple_network_listen().
author | andrew.victor@mxit.com |
---|---|
date | Sat, 24 Sep 2011 20:36:47 +0000 |
parents | cd1d9e04c587 |
children | d2ef8926b960 |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Sat Sep 24 17:04:09 2011 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Sat Sep 24 20:36:47 2011 +0000 @@ -2770,7 +2770,7 @@ if (yd->listen_data) purple_debug_warning("yahoo","p2p: Failed to create p2p server - server already exists\n"); else { - yd->listen_data = purple_network_listen(YAHOO_PAGER_PORT_P2P, SOCK_STREAM, yahoo_p2p_server_listen_cb, p2p_data); + yd->listen_data = purple_network_listen(YAHOO_PAGER_PORT_P2P, AF_UNSPEC, SOCK_STREAM, yahoo_p2p_server_listen_cb, p2p_data); if (yd->listen_data == NULL) purple_debug_warning("yahoo","p2p: Failed to created p2p server\n"); }