Commit Diff


commit - 71e574645cb82c0a0ce678d2efc1aaeb107d4601
commit + 4921c182c938f7e109ed3f516cc6249ff7d676bc
blob - 48e5696942f0483cf0bac6ae07df6e03d218ee3e
blob + eb61b43d2ee522780085b404bdef3baabfb6d050
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
@@ -352,7 +352,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 - 4efd134dfaaf502699cb7769db9b07549b2ee41b
blob + 108a7b3500fd706e64a0b9a2fa6519196ebe51ca
--- gotwebd/gotwebd.h
+++ gotwebd/gotwebd.h
@@ -79,6 +79,7 @@
 #define D_MAXREPODISP		 25
 #define D_MAXSLCOMMDISP		 10
 #define D_MAXCOMMITDISP		 25
+#define D_MAXSLTAGDISP		 3
 
 #define BUF			 8192