From 853cd32cfe055096597014402535b30c5a8c22bf Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Sun, 7 Nov 2010 17:06:35 -0200 Subject: [PATCH] Remove unused parameter bufferLen from GetDescDocumentAndURL(). --- upnp/src/api/upnpapi.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/upnp/src/api/upnpapi.c b/upnp/src/api/upnpapi.c index aa8ca47..ad9c62e 100644 --- a/upnp/src/api/upnpapi.c +++ b/upnp/src/api/upnpapi.c @@ -868,8 +868,6 @@ static int GetDescDocumentAndURL( /* [in] . */ char *description, /* [in] . */ - unsigned int bufferLen, - /* [in] . */ int config_baseURL, /* [in] . */ int AddressFamily, @@ -883,7 +881,7 @@ static int GetDescDocumentAndURL( int UpnpRegisterRootDevice2( Upnp_DescType descriptionType, const char *description_const, - size_t bufferLen, // ignored unless descType == UPNPREG_BUF_DESC + size_t bufferLen, /* ignored */ int config_baseURL, Upnp_FunPtr Fun, const void *Cookie, @@ -931,7 +929,7 @@ int UpnpRegisterRootDevice2( HInfo->aliasInstalled = 0; retVal = GetDescDocumentAndURL( - descriptionType, description, bufferLen, + descriptionType, description, config_baseURL, AF_INET, &HInfo->DescDocument, HInfo->DescURL); if (retVal != UPNP_E_SUCCESS) { @@ -1400,7 +1398,6 @@ static void get_server_addr6( static int GetDescDocumentAndURL( Upnp_DescType descriptionType, char *description, - unsigned int bufferLen, int config_baseURL, int AddressFamily, IXML_Document **xmlDoc, @@ -1522,7 +1519,6 @@ static int GetDescDocumentAndURL( static int GetDescDocumentAndURL( Upnp_DescType descriptionType, char *description, - unsigned int bufferLen, int config_baseURL, int AddressFamily, IXML_Document **xmlDoc,