Mercurial > pidgin.yaz
comparison libpurple/stun.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 | 32b2a17d2f92 |
children |
comparison
equal
deleted
inserted
replaced
32676:32b2a17d2f92 | 32677:d2ef8926b960 |
---|---|
336 nattype.lookup_time = time(NULL); | 336 nattype.lookup_time = time(NULL); |
337 do_callbacks(); | 337 do_callbacks(); |
338 return; | 338 return; |
339 } | 339 } |
340 | 340 |
341 if (!purple_network_listen_range(12108, 12208, AF_UNSPEC, SOCK_DGRAM, hbn_listen_cb, hosts)) { | 341 if (!purple_network_listen_range(12108, 12208, AF_UNSPEC, SOCK_DGRAM, TRUE, hbn_listen_cb, hosts)) { |
342 while (hosts) { | 342 while (hosts) { |
343 hosts = g_slist_delete_link(hosts, hosts); | 343 hosts = g_slist_delete_link(hosts, hosts); |
344 g_free(hosts->data); | 344 g_free(hosts->data); |
345 hosts = g_slist_delete_link(hosts, hosts); | 345 hosts = g_slist_delete_link(hosts, hosts); |
346 } | 346 } |