[patch #7303] UPNP support

ygrek <[email protected]>
Newsgroups gmane.network.mldonkey.user
Message-ID <[email protected]>
Follow-up Comment #6, patch #7303 (project mldonkey):

Fix compiler warnings :

--- src/utils/net/upnp_stubs.c
+++ src/utils/net/upnp_stubs.c
@@ -81,8 +81,7 @@
 #ifdef  DEBUG_PRINTF_UPNP
 #define dbg_printf printf
 #else
-#define dbg_printf /
-/printf
+#define dbg_printf(...) do { } while(0)
 #endif
 
 /* can hold max 20 port forwarding, is it enough for all mldonkey
bt/ed2k/kad/ft clients I think */


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7303>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.