Small fix for ifdef comments.

git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@372 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Marcelo Roberto Jimenez 2008-05-05 23:33:40 +00:00
parent e56a9d68a3
commit d8fce6e0fe

View File

@ -4343,12 +4343,12 @@ int getlocalhostname(OUT char *out, IN const int out_len)
out ); out );
return UPNP_E_SUCCESS; return UPNP_E_SUCCESS;
#endif #endif
} }
#ifdef INCLUDE_DEVICE_APIS #ifdef INCLUDE_DEVICE_APIS
#if EXCLUDE_SSDP == 0 #if EXCLUDE_SSDP == 0
/**************************************************************************
/**************************************************************************
* Function: AutoAdvertise * Function: AutoAdvertise
* *
* Parameters: * Parameters:
@ -4361,23 +4361,21 @@ int getlocalhostname(OUT char *out, IN const int out_len)
* Return Values: VOID * Return Values: VOID
* *
***************************************************************************/ ***************************************************************************/
void void AutoAdvertise(void *input)
AutoAdvertise( void *input )
{ {
upnp_timeout *event = ( upnp_timeout * ) input; upnp_timeout *event = (upnp_timeout *)input;
UpnpSendAdvertisement( event->handle, *( ( int * )event->Event ) ); UpnpSendAdvertisement(event->handle, *((int *)event->Event));
free_upnp_timeout( event ); free_upnp_timeout(event);
} }
#endif //INCLUDE_DEVICE_APIS #endif // EXCLUDE_SSDP == 0
#endif #endif // INCLUDE_DEVICE_APIS
/*
**************************** */
#ifdef INTERNAL_WEB_SERVER #ifdef INTERNAL_WEB_SERVER
/************************************************************************** /**************************************************************************
* Function: UpnpSetWebServerRootDir * Function: UpnpSetWebServerRootDir
* *
* Parameters: * Parameters:
* IN const char* rootDir:Path of the root directory of the web server. * IN const char* rootDir:Path of the root directory of the web server.