Introduction
Introduction Statistics Contact Development Disclaimer Help
on HTTP error also print "\r\n\r\n" - hurl - Gopher/HTTP/HTTPS file grabber
git clone git://git.codemadness.org/hurl
Log
Files
Refs
README
LICENSE
---
commit 23259e9166d683eb9f3f92dfbb7a3fa71c63b65f
parent b0ae028e1af0a7f6e3e828390109462cbd2ea6bb
Author: Hiltjo Posthuma <[email protected]>
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(-)
---
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 …
}
@@ -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 …
}
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.