tPrevent bug due to uninitialized value - phroxy - Gopher to HTTP proxy
 (HTM) git clone git://git.z3bra.org/phroxy.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 5f318d5ec96f8ca1d8d51c6a4f19581048299a09
 (DIR) parent 2c475361f8d8ed00d0ed93d88b3a2152c34a2e3b
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Fri, 11 Sep 2020 22:41:09 +0200
       
       Prevent bug due to uninitialized value
       
       Diffstat:
         M phroxy.c                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/phroxy.c b/phroxy.c
       t@@ -293,7 +293,7 @@ phroxy(char *url)
                int sock;
                size_t len;
                char item, *hole, *path, *host, *port;
       -        char *data;
       +        char *data = NULL;
        
                hole = url + 1;
                hole = strsep(&hole, "/");