diff --git a/ajaxui/ajaxui.c b/ajaxui/ajaxui.c index 42596baf..5340b82e 100644 --- a/ajaxui/ajaxui.c +++ b/ajaxui/ajaxui.c @@ -80,35 +80,35 @@ ajaxui_escape_apostrophe(const char *content) * */ void -ajax_generate_select_functions(tcp_queue_t *tq, const char *fprefix, +ajax_generate_select_functions(htsbuf_queue_t *hq, const char *fprefix, char **selvector) { int n; - tcp_qprintf(tq, "\r\n"); } @@ -133,7 +133,7 @@ ajax_generate_select_functions(tcp_queue_t *tq, const char *fprefix, * AJAX table */ void -ajax_table_top(ajax_table_t *t, http_connection_t *hc, tcp_queue_t *tq, +ajax_table_top(ajax_table_t *t, http_connection_t *hc, htsbuf_queue_t *hq, const char *names[], int weights[]) { int n = 0, i, tw = 0; @@ -147,19 +147,19 @@ ajax_table_top(ajax_table_t *t, http_connection_t *hc, tcp_queue_t *tq, memset(t, 0, sizeof(ajax_table_t)); - t->tq = tq; + t->hq = hq; for(i = 0; i < n; i++) t->csize[i] = 100 * weights[i] / tw; - tcp_qprintf(tq, "
HTS / Tvheadend
" "(c) 2006-2008 Andreas \303\226man
" "Latest release and information is available at:
" @@ -504,10 +504,10 @@ ajax_about_tab(http_connection_t *hc, http_reply_t *hr) "" ); - tcp_qprintf(tq, "