Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dolphin osvr miniupnpc 1.6
diff --git a/Source/Core/Core/NetPlayServer.cpp b/Source/Core/Core/NetPlayServer.cpp
index 692beb2..420f3f2 100644
--- a/Source/Core/Core/NetPlayServer.cpp
+++ b/Source/Core/Core/NetPlayServer.cpp
@@ -930,7 +930,8 @@ bool NetPlayServer::initUPnP()
for (const UPNPDev* dev : igds)
{
- char* descXML = (char*)miniwget(dev->descURL, &descXMLsize, 0);
+ int responsecode = 200;
+ char* descXML = (char*)miniwget(dev->descURL, &descXMLsize, 0, &responsecode);
if (descXML)
{
parserootdesc(descXML, descXMLsize, &m_upnp_data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.