Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > 59c3001cc5c2f03d873f0decaf2bddb8 > files > 2

dogecoin-1.8.3-8.mga6.src.rpm

--- dogecoin-1.8.3/src/net.cpp~	2015-07-03 01:54:24.000000000 +0800
+++ dogecoin-1.8.3/src/net.cpp	2015-10-13 11:26:46.750202585 +0800
@@ -1112,8 +1112,12 @@
 #else
     /* miniupnpc 1.6 */
     int error = 0;
+#if defined(MINIUPNPC_API_VERSION) && MINIUPNPC_API_VERSION >= 14
+    devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, 2, &error);
+#else
     devlist = upnpDiscover(2000, multicastif, minissdpdpath, 0, 0, &error);
 #endif
+#endif
 
     struct UPNPUrls urls;
     struct IGDdatas data;