]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
if we dont have any PVR status, print so
authorAndreas Öman <andreas@lonelycoder.com>
Sun, 10 Feb 2008 13:20:41 +0000 (13:20 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Sun, 10 Feb 2008 13:20:41 +0000 (13:20 +0000)
htmlui.c

index b35c3b713531707c80db970c15b223a3da3271e8..65d9a4514821b2e33b263f6ddff813e147177dcd 100644 (file)
--- 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, "<center>Nothing in recording log</center><br>");
+  }
+
   pv = alloca(c * sizeof(pvr_rec_t *));
 
   i = 0;