Subscription auto-renewals copy the renewal time from old subscription.

git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/branches/branch-1.6.x@533 119443c7-1b9e-41f8-b6fc-b9c35fce742c
This commit is contained in:
Nick Leverton
2010-04-21 12:28:27 +00:00
parent 640fa8b1be
commit e1d09004eb
2 changed files with 4 additions and 0 deletions

View File

@@ -2,6 +2,9 @@
Version 1.6.7 Version 1.6.7
******************************************************************************* *******************************************************************************
2010-03-27 Nick Leverton <nick@leverton.org>
Subscription auto-renewals copy the renewal time from old subscription.
2010-03-27 Marcelo Jimenez <mroberto(at)users.sourceforge.net> 2010-03-27 Marcelo Jimenez <mroberto(at)users.sourceforge.net>
Backport of svn revision 527: Backport of svn revision 527:
* Added API to ithread, created the following functions: * Added API to ithread, created the following functions:

View File

@@ -80,6 +80,7 @@ static void GenaAutoRenewSubscription(
eventType = UPNP_EVENT_SUBSCRIPTION_EXPIRED; eventType = UPNP_EVENT_SUBSCRIPTION_EXPIRED;
} else { } else {
UpnpPrintf(UPNP_INFO, GENA, __FILE__, __LINE__, "GENA AUTO RENEW"); UpnpPrintf(UPNP_INFO, GENA, __FILE__, __LINE__, "GENA AUTO RENEW");
timeout = sub_struct->TimeOut;
errCode = genaRenewSubscription( errCode = genaRenewSubscription(
event->handle, event->handle,
sub_struct->Sid, sub_struct->Sid,