Menu

#112 Cookie not always given to callback function

open
nobody
None
5
2012-12-14
2012-08-19
Anonymous
No

In libupnp-1.6.17, when polling for events via UpnpSearchAsync, the callback function is not always given the cookie parameter that was given to UpnpSearchAsync. This seems to happen always when the callback is called with event type UPNP_EVENT_RECEIVED after subscribing to an event using UpnpSubscribe. Instead of the correct parameter, the callback function receives a null pointer as cookie.

Discussion