changeset 15902:3a45be1c3281

Whitespace and make sure stuff is #defined to an actual value. I feel some some pickier compilers have problems with that.
author Mark Doliner <mark@kingant.net>
date Sun, 25 Mar 2007 00:50:43 +0000
parents ab2f466b6a13
children 402236ee7981
files libpurple/network.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/network.c	Sun Mar 25 00:45:40 2007 +0000
+++ b/libpurple/network.c	Sun Mar 25 00:50:43 2007 +0000
@@ -47,7 +47,7 @@
 #include "stun.h"
 #include "upnp.h"
 
-/* #define ENABLE_NAT_PMP */
+/* #define ENABLE_NAT_PMP 1 */
 
 #ifdef ENABLE_NAT_PMP
 #include "nat-pmp.h"
@@ -199,7 +199,7 @@
 	  return ip;
 
 #ifdef ENABLE_NAT_PMP
-	/* Attempt to ge tthe IP from a NAT device using NAT-PMP */
+	/* Attempt to get the IP from a NAT device using NAT-PMP */
 	ip = purple_pmp_get_public_ip();
 	if (ip != NULL)
 		return ip;
@@ -255,9 +255,9 @@
 purple_network_finish_pmp_map_cb(gpointer data)
 {
 	PurpleNetworkListenData *listen_data;
-	
+
 	listen_data = data;
-	
+
 	if (listen_data->cb)
 		listen_data->cb(listen_data->listenfd, listen_data->cb_data);
 
@@ -353,7 +353,7 @@
 	actual_port = purple_network_get_port_from_fd(listenfd);
 
 	purple_debug_info("network", "Listening on port: %hu\n", actual_port);
-	
+
 	listen_data = g_new0(PurpleNetworkListenData, 1);
 	listen_data->listenfd = listenfd;
 	listen_data->adding = TRUE;