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;