shithub: castor9

Download patch

ref: 8f10b0c5efdf998bd3e6806966d65c738ca183ed
parent: 29535b40d6f57da4502d35371a206bfe7f20876c
author: Julien Blanchard <julien@typed-hole.org>
date: Wed Dec 9 12:45:23 EST 2020

Remove message and debug print

--- a/castor.c
+++ b/castor.c
@@ -483,7 +483,6 @@
 	if(strcmp(next_url->scheme, "gemini") == 0){
 		gemini_get(next_url);
 	} else {
-		message("Plumbing %s", next_url->raw);
 		plumburl(next_url);
 	}
 }
@@ -860,7 +859,6 @@
 		return nil;
 	}
 	if(u->port){
-		print("PORT: %s\n", u->port);
 		/* remove default ports */
 		switch(atoi(u->port)){
 		case 21:	if(!strcmp(u->scheme, "ftp"))	 goto Defport; break;
--- a/castor.h
+++ b/castor.h
@@ -24,7 +24,6 @@
 
 struct Response {
 	Url *url;
-	char *mime;
 	char *meta;
 	int status;
 	int fd;