From 21c881cbf97faf22dbae5a4dd5beedb1492d4b48 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 15 Mar 2012 15:06:51 +0100 Subject: [PATCH] Fix previous commit Replace HAVE_UPNP_OPTSSDP by UPNP_HAVE_OPTSSDP in upnpapi.c. (cherry picked from commit a3d038c885b24cffe18a601dea71ceb2e03263ab) --- ChangeLog | 6 ++++++ upnp/src/api/upnpapi.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 26da6e9..b0b1bdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -318,6 +318,12 @@ Version 1.8.0 Version 1.6.16 ******************************************************************************* +2012-03-15 Fabrice Fontaine + + Fix previous commit + + Replace HAVE_UPNP_OPTSSDP by UPNP_HAVE_OPTSSDP in upnpapi.c. + 2012-03-15 Fabrice Fontaine Add --disable-optssdp option diff --git a/upnp/src/api/upnpapi.c b/upnp/src/api/upnpapi.c index 68e6c96..3d033a8 100644 --- a/upnp/src/api/upnpapi.c +++ b/upnp/src/api/upnpapi.c @@ -179,10 +179,10 @@ int UpnpSdkDeviceRegisteredV4 = 0; * == 0 if unregistered, == 1 if registered. */ int UpnpSdkDeviceregisteredV6 = 0; -#ifdef HAVE_UPNP_OPTSSDP +#ifdef UPNP_HAVE_OPTSSDP /*! Global variable used in discovery notifications. */ Upnp_SID gUpnpSdkNLSuuid; -#endif /* HAVE_UPNP_OPTSSDP */ +#endif /* UPNP_HAVE_OPTSSDP */ /*! Global variable used as to store the OpenSSL context object * to be used for all SSL/TLS connections