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/


_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users

Reply via email to