comparison libpurple/network.c @ 19653:941965d6fd88

Patch from QuLogic. Fixes #2903 ('Missing newlines in debug messages.')
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 05 Sep 2007 22:33:22 +0000
parents ec7b92cbf49f
children 44b4e8bd759b
comparison
equal deleted inserted replaced
19652:e21002d106ab 19653:941965d6fd88
355 355
356 /* Attempt a NAT-PMP Mapping, which will return immediately */ 356 /* Attempt a NAT-PMP Mapping, which will return immediately */
357 if (purple_pmp_create_map(((socket_type == SOCK_STREAM) ? PURPLE_PMP_TYPE_TCP : PURPLE_PMP_TYPE_UDP), 357 if (purple_pmp_create_map(((socket_type == SOCK_STREAM) ? PURPLE_PMP_TYPE_TCP : PURPLE_PMP_TYPE_UDP),
358 actual_port, actual_port, PURPLE_PMP_LIFETIME)) 358 actual_port, actual_port, PURPLE_PMP_LIFETIME))
359 { 359 {
360 purple_debug_info("network", "Created NAT-PMP mapping on port %i",actual_port); 360 purple_debug_info("network", "Created NAT-PMP mapping on port %i\n",actual_port);
361 /* We want to return listen_data now, and on the next run loop trigger the cb and destroy listen_data */ 361 /* We want to return listen_data now, and on the next run loop trigger the cb and destroy listen_data */
362 purple_timeout_add(0, purple_network_finish_pmp_map_cb, listen_data); 362 purple_timeout_add(0, purple_network_finish_pmp_map_cb, listen_data);
363 } 363 }
364 else 364 else
365 { 365 {