From 1f3044f3c6897922583aff2ae67294fafb20af56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Wed, 13 Feb 2008 19:11:53 +0000 Subject: [PATCH] fix bug when clearing a future scheduled PVR session --- htmlui.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htmlui.c b/htmlui.c index c574aa0f..ee943709 100644 --- a/htmlui.c +++ b/htmlui.c @@ -713,6 +713,7 @@ page_event(http_connection_t *hc, const char *remain, void *opaque) return HTTP_STATUS_UNAUTHORIZED; } pvr_clear(pvrr); + pvrr = NULL; } @@ -764,6 +765,11 @@ page_event(http_connection_t *hc, const char *remain, void *opaque) if(html_verify_access(hc, "record-events")) { switch(pvrstatus) { case HTSTV_PVR_STATUS_SCHEDULED: + tcp_qprintf(&tq, + ""); + break; + case HTSTV_PVR_STATUS_RECORDING: tcp_qprintf(&tq, "