Commit Diff


commit - e7e5fa49fc2e589a02ba9a9412a7b8e2377ead68
commit + 8ea2e76efa46b2e518a3e42ed90787d73dff3f96
blob - 6c6d29dcbaef64cd1c831a6101da9fa2515c06cf
blob + 846113c5021672fc2790cc93baebbbd4a5941488
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -722,7 +722,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,
@@ -791,7 +791,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,