comparison libpurple/stun.c @ 26851:6bc0e4e76207

merge of '9df36977fc8f70d1b3124d32a54eb123df50aa0f' and 'f92d95c83baba97463f923077688ba2eb144763b'
author Peter Hjalmarsson <xake@rymdraket.net>
date Fri, 01 May 2009 21:36:29 +0000
parents 5d1140b0b10a
children 627d23bfdb05
comparison
equal deleted inserted replaced
26270:15911f71e37f 26851:6bc0e4e76207
339 do_callbacks(); 339 do_callbacks();
340 return; 340 return;
341 } 341 }
342 342
343 if (!purple_network_listen_range(12108, 12208, SOCK_DGRAM, hbn_listen_cb, hosts)) { 343 if (!purple_network_listen_range(12108, 12208, SOCK_DGRAM, hbn_listen_cb, hosts)) {
344 while(hosts) {
345 hosts = g_slist_remove(hosts, hosts->data);
346 g_free(hosts->data);
347 hosts = g_slist_remove(hosts, hosts->data);
348 }
349
344 nattype.status = PURPLE_STUN_STATUS_UNKNOWN; 350 nattype.status = PURPLE_STUN_STATUS_UNKNOWN;
345 nattype.lookup_time = time(NULL); 351 nattype.lookup_time = time(NULL);
346 do_callbacks(); 352 do_callbacks();
347 return; 353 return;
348 } 354 }