if we dont have any PVR status, print so

This commit is contained in:
Andreas Öman 2008-02-10 13:20:41 +00:00
parent 78af09649c
commit fd59506efe

View file

@ -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;