youtube/gopher: initialize search to "" - frontends - front-ends for some sites (experiment) (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 8e7076cc4d88d621e1cab5d35c57a2a2d6e24b51 (DIR) parent 50bc403fd51f83912085837515187a006b4d2dab (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Feb 2023 18:23:27 +0100 youtube/gopher: initialize search to "" Diffstat: M youtube/gopher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/youtube/gopher.c b/youtube/gopher.c @@ -150,7 +150,7 @@ main(void) { struct search_response *r = NULL; const char *channelid = "", *userid = "", *querystring = "", *p; - char search[1024]; + char search[1024] = ""; if (pledge("stdio dns inet rpath unveil", NULL) == -1) exit(1);