diff libpurple/network.c @ 15893:efdd557ed187

Silence a warning about purple_network_finish_pmp_map_cb being defined but not used
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 24 Mar 2007 21:14:12 +0000
parents 9b875f0ecb86
children 3a45be1c3281
line wrap: on
line diff
--- a/libpurple/network.c	Sat Mar 24 20:53:19 2007 +0000
+++ b/libpurple/network.c	Sat Mar 24 21:14:12 2007 +0000
@@ -250,6 +250,7 @@
 	purple_network_listen_cancel(listen_data);
 }
 
+#ifdef ENABLE_NAT_PMP
 static gboolean
 purple_network_finish_pmp_map_cb(gpointer data)
 {
@@ -264,6 +265,7 @@
 
 	return FALSE;
 }
+#endif
 
 static PurpleNetworkListenData *
 purple_network_do_listen(unsigned short port, int socket_type, PurpleNetworkListenCallback cb, gpointer cb_data)