youtube/gopher: small cleanup - frontends - front-ends for some sites (experiment)
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ea04b0e0744e1b41f06f4f85effc29ea48eef37c
 (DIR) parent f3adbb9aabfccab9ab538881887867e1ffca5863
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       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(-)
       ---
 (DIR) 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)