commit 6169d054065c0cf8901f97798d42785fc28819cf from: Omar Polo date: Sat Dec 17 08:28:56 2022 UTC gotwebd: fix broken navigation in commits page since 8d02314 ok tracey@ commit - ed619ca07e51b9c984c8404ca2b1153efdb14d1e commit + 6169d054065c0cf8901f97798d42785fc28819cf blob - 0ce90275bab1028c73efcf66d2d59a727f7ca7c7 blob + 457891c2c6c6e2e695f33d292ea9e53fefdefb7c --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -723,7 +723,7 @@ gotweb_render_navs(struct request *c) if (t->prev_id && qs->commit != NULL && strcmp(qs->commit, t->prev_id) != 0) { struct gotweb_url url = { - .action = COMMIT, + .action = COMMITS, .index_page = -1, .page = qs->page - 1, .path = qs->path, @@ -792,7 +792,7 @@ gotweb_render_navs(struct request *c) case COMMITS: if (t->next_id) { struct gotweb_url url = { - .action = COMMIT, + .action = COMMITS, .index_page = -1, .page = qs->page + 1, .path = qs->path,