Introduction
Introduction Statistics Contact Development Disclaimer Help
remove double code, an empty protocol was handled twice - hurl - Gopher/HTTP/HT…
git clone git://git.codemadness.org/hurl
Log
Files
Refs
README
LICENSE
---
commit 049d30214771c86b673413086eee4c541a01cf5a
parent 7f1f2eb85f5716b6a5632bcefc0c4c0cbb9a515e
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 16 Nov 2018 16:07:00 +0100
remove double code, an empty protocol was handled twice
Diffstat:
M hurl.c | 5 -----
1 file changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/hurl.c b/hurl.c
@@ -492,11 +492,6 @@ main(int argc, char **argv)
exit(1);
}
- if (!u.proto[0]) {
- fprintf(stderr, "no protocol specified\n");
- exit(1);
- }
-
if (!strcmp(u.proto, "https")) {
if (!strcmp(u.proto, "https"))
memcpy(u.port, "443", 4);
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.