diff options
author | wrmr | 2024-11-03 12:12:20 -0500 |
---|---|---|
committer | wrmr | 2024-11-03 12:12:20 -0500 |
commit | ce088cbf9c3a73e9f9ed3012d31dd6e989d86052 (patch) | |
tree | 2fdc9ca366f8a42f919ca8e3577c8079dd102965 /net.c | |
parent | 3e9c75318b0eb1114fb7361dbc467990674804b6 (diff) |
file:// plaintext reading complete, add nav_next/nav_prev
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net.c b/net.c index e90d3c0..b826e96 100644 --- a/net.c +++ b/net.c @@ -29,7 +29,7 @@ int net_addr(const char *url, struct addr *adr, enum protocol prot_default) { } if (adr->prot == PROT_FILE) { - adr->type = TYPE_PLAIN; + adr->type = DOC_PLAIN; adr->host_len = 0; size_t n = strlen(url); if (n >= PATH_MAX) return -1; |