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

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