summary refs log tree commit diff
diff options
context:
space:
mode:
authorwrmr2024-11-03 13:19:56 -0500
committerwrmr2024-11-03 13:19:56 -0500
commit1a0fb13940e97e503d76eb9aa601de17cf55f287 (patch)
tree36f76e8b8f7fc42235871743c3bd70dc786403e7
parente5f222ed0020b0da3d1d6cf43d066d3deb0538b8 (diff)
don't always return failure for non-file url->address
-rw-r--r--net.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net.c b/net.c
index 9a21fb2..5d68714 100644
--- a/net.c
+++ b/net.c
@@ -55,9 +55,6 @@ int net_addr(const char *url, struct addr *adr, enum protocol prot_default) {
 			perr("path too long");
 			return -1;
 		}
-		puts(adr->host);
-		puts(adr->path);
-		return -1;
 	}
 
 	return 0;