URI: 
       util: dial: no need for a static struct hints - sic - simple irc client
  HTML git clone git://git.suckless.org/sic
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 81533f966ec31049c6159eac482bb821cb1e54ef
   DIR parent b188c784329baf8479f30f06c61c12226d797115
  HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Thu,  6 May 2021 01:16:13 +0200
       
       util: dial: no need for a static struct hints
       
       Diffstat:
         M util.c                              |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/util.c b/util.c
       @@ -18,9 +18,9 @@ eprint(const char *fmt, ...) {
        
        static int
        dial(char *host, char *port) {
       -        static struct addrinfo hints;
       -        int fd;
       +        struct addrinfo hints;
                struct addrinfo *res, *r;
       +        int fd;
        
                memset(&hints, 0, sizeof hints);
                hints.ai_family = AF_UNSPEC;