View | Details | Raw Unified | Return to bug 280298 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/openclonk/files/patch-src_network_C4Network2UPnPLinux.cpp (-1 / +11 lines)
Added Link Here
0
- 
1
--- src/network/C4Network2UPnPLinux.cpp.orig	2024-07-16 01:44:55 UTC
2
+++ src/network/C4Network2UPnPLinux.cpp
3
@@ -77,7 +77,7 @@ void C4Network2UPnPP::Init()
4
 	if ((devlist = upnpDiscover(2000, nullptr, nullptr, UPNP_LOCAL_PORT_ANY, 0, 2, &error)))
5
 #endif
6
 	{
7
-		if ((status = UPNP_GetValidIGD(devlist, &upnp_urls, &igd_data, lanaddr, sizeof(lanaddr))))
8
+		if ((status = UPNP_GetValidIGD(devlist, &upnp_urls, &igd_data, lanaddr, sizeof(lanaddr), nullptr, 0)))
9
 		{
10
 			ThreadLogS("UPnP: Found IGD %s (status %d)", upnp_urls.controlURL, status);
11
 			initialized = true;

Return to bug 280298