Commit Diff


commit - 590726f8f4af6e810c8917226265ced5cb814fe2
commit + c328bece03e3584b1227270945572687bdd219b6
blob - c87440d5f88d32ddddc7ed30ed8a81d9c1f718b3
blob + 5be3db5287206ce4a8158ab600915a933b3a7cdc
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -351,7 +351,7 @@ gotweb_process_request(struct request *c)
 		if (error)
 			goto err;
 		qs->action = TAGS;
-		error = got_get_repo_tags(c, D_MAXSLCOMMDISP);
+		error = got_get_repo_tags(c, D_MAXSLTAGDISP);
 		if (error) {
 			log_warnx("%s: got_get_repo_tags: %s", __func__,
 			    error->msg);
blob - e91974fe33e609ba0ca666d09c9df5b3956cfee4
blob + bbd0dfbe71b15e16f66c7c842591a2ca49fd28ea
--- gotwebd/gotwebd.h
+++ gotwebd/gotwebd.h
@@ -81,6 +81,7 @@
 #define D_MAXREPODISP		 25
 #define D_MAXSLCOMMDISP		 10
 #define D_MAXCOMMITDISP		 25
+#define D_MAXSLTAGDISP		 3
 
 #define BUF			 8192