diff options
author | wrmr | 2024-11-03 13:19:56 -0500 |
---|---|---|
committer | wrmr | 2024-11-03 13:19:56 -0500 |
commit | 1a0fb13940e97e503d76eb9aa601de17cf55f287 (patch) | |
tree | 36f76e8b8f7fc42235871743c3bd70dc786403e7 /net.c | |
parent | e5f222ed0020b0da3d1d6cf43d066d3deb0538b8 (diff) |
don't always return failure for non-file url->address
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 3 |
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; |