From fd59506efee338fd4aea152f011377929ae28f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Sun, 10 Feb 2008 13:20:41 +0000 Subject: [PATCH] if we dont have any PVR status, print so --- htmlui.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htmlui.c b/htmlui.c index b35c3b71..65d9a451 100644 --- a/htmlui.c +++ b/htmlui.c @@ -787,6 +787,10 @@ page_pvrlog(http_connection_t *hc, const char *remain, void *opaque) LIST_FOREACH(pvrr, &pvrr_global_list, pvrr_global_link) c++; + if(c == 0) { + tcp_qprintf(&tq, "
Nothing in recording log

"); + } + pv = alloca(c * sizeof(pvr_rec_t *)); i = 0;