tMake sure variables cannot be uninitialized in download() - sacc - sacc (saccomys): simple gopher client.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 687f65e4cda6fdfe5eafd263bb30a091fe3443af
 (DIR) parent 42d4251ad320c40f328c7cee077e9f91dac39a6d
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sun, 25 Feb 2018 15:52:17 +0100
       
       Make sure variables cannot be uninitialized in download()
       
       Diffstat:
         sacc.c                              |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/sacc.c b/sacc.c
       t@@ -457,6 +457,7 @@ download(Item *item, int dest)
                        return 0;
                }
        
       +        w = 0;
                while ((r = read(src, buf, BUFSIZ)) > 0) {
                        while ((w = write(dest, buf, r)) > 0)
                                r -= w;