From e1d09004ebbbe3e4843b4ac2860f47532dd54428 Mon Sep 17 00:00:00 2001 From: Nick Leverton Date: Wed, 21 Apr 2010 12:28:27 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ upnp/src/gena/gena_ctrlpt.c | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index f4c13a0..d4fc4cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ Version 1.6.7 ******************************************************************************* +2010-03-27 Nick Leverton + Subscription auto-renewals copy the renewal time from old subscription. + 2010-03-27 Marcelo Jimenez Backport of svn revision 527: * Added API to ithread, created the following functions: diff --git a/upnp/src/gena/gena_ctrlpt.c b/upnp/src/gena/gena_ctrlpt.c index 38a43b9..f2751c5 100644 --- a/upnp/src/gena/gena_ctrlpt.c +++ b/upnp/src/gena/gena_ctrlpt.c @@ -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,