URI: 
       fix compilation without TLS support enabled in config.mk - sacc - sacc(omys), simple console gopher client
  HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR LICENSE
       ---
   DIR commit 1f9509a7c5ab03ab79d64212113bd83f194dcbcb
   DIR parent cb05caeda420012e03188d8f2cde8b80a166aeb1
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 27 Mar 2022 13:21:25 +0200
       
       fix compilation without TLS support enabled in config.mk
       
       Clear the struct cnx so no extra #ifdef for USE_TLS is needed.
       
       Diffstat:
         M sacc.c                              |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
   DIR diff --git a/sacc.c b/sacc.c
       @@ -576,7 +576,7 @@ static int
        download(Item *item, int dest)
        {
                char buf[BUFSIZ];
       -        struct cnx c;
       +        struct cnx c = { 0 };
                ssize_t r, w;
        
                if (item->tag == NULL) {
       @@ -590,7 +590,6 @@ download(Item *item, int dest)
                                errno = 0;
                                return 0;
                        }
       -                c.tls = NULL;
                }
        
                w = 0;