comparison 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
comparison
equal deleted inserted replaced
32674:2571b01e849c 32675:75d20c9836c1
2768 /* FIXME: If the port is already used, purple_network_listener returns NULL and old listener won't be canceled 2768 /* FIXME: If the port is already used, purple_network_listener returns NULL and old listener won't be canceled
2769 * in yahoo_close function. */ 2769 * in yahoo_close function. */
2770 if (yd->listen_data) 2770 if (yd->listen_data)
2771 purple_debug_warning("yahoo","p2p: Failed to create p2p server - server already exists\n"); 2771 purple_debug_warning("yahoo","p2p: Failed to create p2p server - server already exists\n");
2772 else { 2772 else {
2773 yd->listen_data = purple_network_listen(YAHOO_PAGER_PORT_P2P, SOCK_STREAM, yahoo_p2p_server_listen_cb, p2p_data); 2773 yd->listen_data = purple_network_listen(YAHOO_PAGER_PORT_P2P, AF_UNSPEC, SOCK_STREAM, yahoo_p2p_server_listen_cb, p2p_data);
2774 if (yd->listen_data == NULL) 2774 if (yd->listen_data == NULL)
2775 purple_debug_warning("yahoo","p2p: Failed to created p2p server\n"); 2775 purple_debug_warning("yahoo","p2p: Failed to created p2p server\n");
2776 } 2776 }
2777 2777
2778 g_free(base64_ip); 2778 g_free(base64_ip);