on HTTP error also print "\r\n\r\n" - hurl - Gopher/HTTP/HTTPS file grabber
 (HTM) git clone git://git.codemadness.org/hurl
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 23259e9166d683eb9f3f92dfbb7a3fa71c63b65f
 (DIR) parent b0ae028e1af0a7f6e3e828390109462cbd2ea6bb
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Mon, 12 Nov 2018 19:45:57 +0100
       
       on HTTP error also print "\r\n\r\n"
       
       Diffstat:
         M bget.c                              |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/bget.c b/bget.c
       @@ -252,6 +252,7 @@ https_request(void)
                } else {
                        /* if not 200 OK print header */
                        fputs(buf, stderr);
       +                fputs("\r\n\r\n", stderr);
                        /* TODO: exit or continue reading, probably nicer to continue read */
                }
        
       @@ -352,6 +353,7 @@ http_request(void)
                } else {
                        /* if not 200 OK print header */
                        fputs(buf, stderr);
       +                fputs("\r\n\r\n", stderr);
                        /* TODO: exit or continue reading, probably nicer to continue read */
                }