summary refs log tree commit diff
path: root/net.h
diff options
context:
space:
mode:
authorwrmr2024-11-03 18:09:00 -0500
committerwrmr2024-11-03 18:09:00 -0500
commitcfcab548584953c1a7e40eef7b9a209d4e5d1402 (patch)
treed217fb57401e201f5cf8ca4039b0c013987aa2ba /net.h
parent7d43ad487e7358b3a013d223a8e3cb0bb5304f64 (diff)
add fetch_gopher
Diffstat (limited to 'net.h')
-rw-r--r--net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.h b/net.h
index 64048be..a2ad569 100644
--- a/net.h
+++ b/net.h
@@ -19,6 +19,7 @@ struct addr {
 	char path[PATH_MAX + 1];
 	size_t host_len, path_len;
 	enum protocol prot;
+	int port;
 };
 
 int net_addr(const char *url, struct addr *adr, enum protocol prot_default);