hurl

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 049d30214771c86b673413086eee4c541a01cf5a
parent 7f1f2eb85f5716b6a5632bcefc0c4c0cbb9a515e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 16 Nov 2018 16:07:00 +0100

remove double code, an empty protocol was handled twice

Diffstat:
Mhurl.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);