Introduction
Introduction Statistics Contact Development Disclaimer Help
youtube: fix mistaku - frontends - front-ends for some sites (experiment)
Log
Files
Refs
README
LICENSE
---
commit d8464a0a1169fc7b1ff0cea3a907b879a7230b47
parent 59471286810c9ef14f294bba649dd75a78e74c6a
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 25 Feb 2023 20:13:56 +0100
youtube: fix mistaku
Diffstat:
M youtube/cgi.c | 2 +-
M youtube/gopher.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/youtube/cgi.c b/youtube/cgi.c
@@ -141,7 +141,7 @@ render(struct search_response *r)
"<tbody>\n");
for (i = 0; i < r->nitems; i++) {
- v = &(r->items[0]);
+ v = &(r->items[i]);
OUT("<tr class=\"v\">\n"
" <td class=\"thumb\" width=\"120\" align=\"cen…
diff --git a/youtube/gopher.c b/youtube/gopher.c
@@ -65,7 +65,7 @@ render(struct search_response *r)
header();
for (i = 0; i < r->nitems; i++) {
- v = &(r->items[0]);
+ v = &(r->items[i]);
if (i > 0) {
info("");
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.