summaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
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);