shithub: tcp80

Download patch

ref: 8ea5ce6871290c67f3d44bf94b7bf3ec35a15200
parent: 5d5e1b7ad6a3a53ea6cc4cd86a4e231cf2b88cfb
author: grobe0ba <grobe0ba@tcp80.org>
date: Mon Aug 1 16:10:12 EDT 2022

don't force http

--- a/tcp80.c
+++ b/tcp80.c
@@ -386,7 +386,7 @@
 {
 	static char buf[1024];
 
-	snprint(buf, sizeof(buf), "%s%s%s%s%s%s", host ? "http://" : "", host ? host : "",
+	snprint(buf, sizeof(buf), "%s%s%s%s%s%s", host ? "/" : "", host ? host : "",
 		path ? path : "/", name ? name : "", query ? "?" : "", query ? query : "");
 	return buf;
 }