diff options
author | wrmr | 2024-11-09 02:04:33 -0500 |
---|---|---|
committer | wrmr | 2024-11-09 02:04:33 -0500 |
commit | 38987f3f5a3919ac81ba419e05ac8610c269faff (patch) | |
tree | dc76c691f0e7d8385224ede708b9390b50b68dff /nav.c | |
parent | 12d5d0df5c4b958bbb5cc339a9e556c50136a974 (diff) |
rename buf_t to str_t, and consolidate str.c/h with strv.c/h
Diffstat (limited to 'nav.c')
-rw-r--r-- | nav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nav.c b/nav.c index 18b21db..8a520ac 100644 --- a/nav.c +++ b/nav.c @@ -100,7 +100,7 @@ void nav_redraw(struct nav_state *ns) { int nav_to(struct nav_state *ns, const char *url) { enum doc_type doct; struct addr adr; - buf_t buf; + str_t buf; if (net_addr(url, &adr, ns->prot_default)) { return -1; } @@ -110,11 +110,11 @@ int nav_to(struct nav_state *ns, const char *url) { } struct doc d; if (parse_doc(doct, &d, &buf)) { - buf_free(&buf); + str_free(&buf); return -1; } nav_push(ns, d); - buf_free(&buf); + str_free(&buf); nav_redraw(ns); return 0; } |