From: Andreas Ă–man Date: Sun, 10 Feb 2008 13:20:41 +0000 (+0000) Subject: if we dont have any PVR status, print so X-Git-Tag: 2.12~1226 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd59506efee338fd4aea152f011377929ae28f1e;p=thirdparty%2Ftvheadend.git if we dont have any PVR status, print so --- diff --git a/htmlui.c b/htmlui.c index b35c3b713..65d9a4514 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;