youtube/gopher: initialize search to "" - frontends - front-ends for some sites… | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8e7076cc4d88d621e1cab5d35c57a2a2d6e24b51 | |
parent 50bc403fd51f83912085837515187a006b4d2dab | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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); |