comparison libpurple/protocols/bonjour/jabber.c @ 32677:d2ef8926b960

Remove deprecated purple_network_listen_map_external(). Update purple_network_listen() and purple_network_listen_range() to have a boolean parameter that indicates if the port should be mapped externally.
author andrew.victor@mxit.com
date Sat, 24 Sep 2011 21:10:41 +0000
parents 75d20c9836c1
children 1ffa35da9a7b
comparison
equal deleted inserted replaced
32676:32b2a17d2f92 32677:d2ef8926b960
742 return -1; 742 return -1;
743 } 743 }
744 744
745 #if 0 745 #if 0
746 /* TODO: Why isn't this being used? */ 746 /* TODO: Why isn't this being used? */
747 data->socket = purple_network_listen(jdata->port, AF_UNSPEC, SOCK_STREAM); 747 data->socket = purple_network_listen(jdata->port, AF_UNSPEC, SOCK_STREAM, TRUE);
748 748
749 if (jdata->socket == -1) 749 if (jdata->socket == -1)
750 { 750 {
751 purple_debug_error("bonjour", "No se ha podido crear el socket\n"); 751 purple_debug_error("bonjour", "No se ha podido crear el socket\n");
752 } 752 }