Merge tag 'v0.20.12'

release v0.20.12
This commit is contained in:
Max Kellermann
2017-11-25 19:46:07 +01:00
7 changed files with 103 additions and 20 deletions

View File

@@ -33,7 +33,12 @@ static unsigned upnp_client_ref;
static UpnpClient_Handle upnp_client_handle;
static int
UpnpClientCallback(Upnp_EventType et, void *evp, void *cookie) noexcept
UpnpClientCallback(Upnp_EventType et,
#if UPNP_VERSION >= 10800
const
#endif
void *evp,
void *cookie) noexcept
{
if (cookie == nullptr)
/* this is the cookie passed to UpnpRegisterClient();