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

@ -4345,9 +4345,9 @@ int getlocalhostname(OUT char *out, IN const int out_len)
#endif #endif
} }
#ifdef INCLUDE_DEVICE_APIS #ifdef INCLUDE_DEVICE_APIS
#if EXCLUDE_SSDP == 0 #if EXCLUDE_SSDP == 0
/************************************************************************** /**************************************************************************
* Function: AutoAdvertise * Function: AutoAdvertise
* *
@ -4361,19 +4361,17 @@ 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 // EXCLUDE_SSDP == 0
#endif // INCLUDE_DEVICE_APIS #endif // INCLUDE_DEVICE_APIS
#endif
/*
**************************** */
#ifdef INTERNAL_WEB_SERVER #ifdef INTERNAL_WEB_SERVER
/************************************************************************** /**************************************************************************