mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-05-24 23:26:07 +00:00
travis-ci cmake fix
This commit is contained in:
+3
-2
@@ -79,10 +79,11 @@ namespace transport
|
||||
|
||||
void UPnP::Discover ()
|
||||
{
|
||||
int nerror = 0;
|
||||
#if MINIUPNPC_API_VERSION >= 14
|
||||
int nerror = 0;
|
||||
m_Devlist = upnpDiscover (2000, m_MulticastIf, m_Minissdpdpath, 0, 0, 2, &nerror);
|
||||
#elseif MINIUPNPC_API_VERSION >= 8
|
||||
#elif MINIUPNPC_API_VERSION >= 8
|
||||
int nerror = 0;
|
||||
m_Devlist = upnpDiscover (2000, m_MulticastIf, m_Minissdpdpath, 0, 0, &nerror);
|
||||
#else
|
||||
m_Devlist = upnpDiscover (2000, m_MulticastIf, m_Minissdpdpath, 0);
|
||||
|
||||
Reference in New Issue
Block a user