Disable SetGenaCallback call if device is disabled.
If device is disabled, SetGenaCallback definition is disabled,
but its call remains. A link error will occur in Win32.
(cherry picked from commit 4d21d45da7
)
This commit is contained in:
parent
8eaaf0f171
commit
dc29948893
@ -332,6 +332,13 @@ Version 1.8.0
|
||||
Version 1.6.18
|
||||
*******************************************************************************
|
||||
|
||||
2012-04-24 Yoichi NAKAYAMA <yoichi.nakayama(at)gmail.com>
|
||||
|
||||
Disable SetGenaCallback call if device is disabled.
|
||||
|
||||
If device is disabled, SetGenaCallback definition is disabled,
|
||||
but its call remains. A link error will occur in Win32.
|
||||
|
||||
2012-04-21 Yoichi NAKAYAMA <yoichi.nakayama(at)gmail.com>
|
||||
|
||||
Fix condition for allocation failure in get_content_type().
|
||||
|
@ -374,9 +374,11 @@ static int UpnpInitPreamble(void)
|
||||
#endif
|
||||
#endif /* INCLUDE_DEVICE_APIS */
|
||||
|
||||
#ifdef INTERNAL_WEB_SERVER
|
||||
#if EXCLUDE_GENA == 0
|
||||
SetGenaCallback(genaCallback);
|
||||
#endif
|
||||
#endif /* INTERNAL_WEB_SERVER */
|
||||
|
||||
/* Initialize the SDK timer thread. */
|
||||
retVal = TimerThreadInit( &gTimerThread, &gSendThreadPool );
|
||||
|
Loading…
Reference in New Issue
Block a user