mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 03:22:34 -04:00
Changes to upnp interface to support miniupnpc-1.0
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5d8e5d4905
commit
048e84630e
3 changed files with 5 additions and 4 deletions
|
@ -132,7 +132,7 @@ bool upnphandler::initUPnPState()
|
|||
/* allocate memory */
|
||||
uPnPConfigData *upcd = new uPnPConfigData;
|
||||
|
||||
upcd->devlist = upnpDiscover(2000);
|
||||
upcd->devlist = upnpDiscover(2000, NULL, NULL);
|
||||
if(upcd->devlist)
|
||||
{
|
||||
struct UPNPDev * device;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue