youtube: remove some DEBUG comments - frontends - front-ends for some sites (experiment)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 86b28b384e968fd3eecbe0c33924d2489a067421
DIR parent 68292dabe281a1a107cf65682df9ce0237759718
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 15 Oct 2024 00:28:38 +0200
youtube: remove some DEBUG comments
Diffstat:
M youtube/youtube.c | 6 ------
1 file changed, 0 insertions(+), 6 deletions(-)
---
DIR diff --git a/youtube/youtube.c b/youtube/youtube.c
@@ -43,8 +43,6 @@ request_video(const char *videoid)
if (r < 0 || (size_t)r >= sizeof(path))
return NULL;
-// return readfile("/tmp/data"); // DEBUG
-
return youtube_request(path);
}
@@ -289,8 +287,6 @@ parse_search_response(const char *data)
/* skip header */
s += strlen("\r\n\r\n");
-// s = data; // DEBUG
-
if (!(r = calloc(1, sizeof(*r))))
return NULL;
@@ -438,8 +434,6 @@ parse_video_response(const char *data)
/* skip header */
s += strlen("\r\n\r\n");
-// s = data; // DEBUG
-
if (!(r = calloc(1, sizeof(*r))))
return NULL;