Introduction
Introduction Statistics Contact Development Disclaimer Help
youtube/gopher: small cleanup - frontends - front-ends for some sites (experime…
Log
Files
Refs
README
LICENSE
---
commit ea04b0e0744e1b41f06f4f85effc29ea48eef37c
parent f3adbb9aabfccab9ab538881887867e1ffca5863
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 19 Feb 2023 14:40:32 +0100
youtube/gopher: small cleanup
Diffstat:
M youtube/gopher.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/youtube/gopher.c b/youtube/gopher.c
@@ -18,11 +18,7 @@
#define OUTTEXT(s) gophertext(stdout, s, strlen(s));
#define OUTLINK(s) gophertext(stdout, s, strlen(s));
-static const char *host = "127.0.0.1", *port = "70";
-
-static const char *querystring = "";
-static const char *channelid = "";
-static const char *requestpath = "/";
+static const char *host = "127.0.0.1", *port = "70", *requestpath = "/";
void
line(int _type, const char *username, const char *selector)
@@ -149,7 +145,7 @@ int
main(void)
{
struct search_response *r = NULL;
- const char *p;
+ const char *channelid = "", *querystring = "", *p;
char search[1024];
if (pledge("stdio dns inet rpath unveil", NULL) == -1)
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.