Commit 9460dac0131b3ccf5044ebfb1838f31959e4526f

Tracey Emery 2020-01-15T22:10:30

add tag html

diff --git a/gotweb/files/htdocs/gotweb/gotweb.css b/gotweb/files/htdocs/gotweb/gotweb.css
index adcf32b..ae00ec1 100644
--- a/gotweb/files/htdocs/gotweb/gotweb.css
+++ b/gotweb/files/htdocs/gotweb/gotweb.css
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2019 Jerome Kasper <neon.king.fr@gmail.com>
- * Copyright (c) 2019 Tracey Emery <tracey@traceyemery.net>
+ * Copyright (c) 2019, 2020 Tracey Emery <tracey@traceyemery.net>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
diff --git a/gotweb/gotweb.c b/gotweb/gotweb.c
index 5190de1..2bfe933 100644
--- a/gotweb/gotweb.c
+++ b/gotweb/gotweb.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019 Tracey Emery <tracey@traceyemery.net>
+ * Copyright (c) 2019, 2020 Tracey Emery <tracey@traceyemery.net>
  * Copyright (c) 2018, 2019 Stefan Sperling <stsp@openbsd.org>
  * Copyright (c) 2014, 2015, 2017 Kristaps Dzonsons <kristaps@bsd.lv>
  *
@@ -125,7 +125,6 @@ enum tags {
 };
 
 struct buf {
-	/* buffer handle, buffer size, and data length */
 	u_char	*cb_buf;
 	size_t	 cb_size;
 	size_t	 cb_len;
@@ -659,7 +658,7 @@ gw_tag(struct trans *gw_trans)
 	log = gw_get_repo_log(gw_trans, NULL, gw_trans->commit, 1, LOGTAG);
 
 	if (log != NULL && strcmp(log, "") != 0) {
-		if ((asprintf(&log_html, log_tree, log)) == -1)
+		if ((asprintf(&log_html, log_tag, log)) == -1)
 			return got_error_from_errno("asprintf");
 		khttp_puts(gw_trans->gw_req, log_html);
 		free(log_html);
diff --git a/gotweb/gotweb.h b/gotweb/gotweb.h
index 40a2d1d..664f273 100644
--- a/gotweb/gotweb.h
+++ b/gotweb/gotweb.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019 Tracey Emery <tracey@traceyemery.net>
+ * Copyright (c) 2019, 2020 Tracey Emery <tracey@traceyemery.net>
  * Copyright (c) 2018, 2019 Stefan Sperling <stsp@openbsd.org>
  *
  * Permission to use, copy, modify, and distribute this software for any
diff --git a/gotweb/gotweb_ui.h b/gotweb/gotweb_ui.h
index 06568ca..a709ec3 100644
--- a/gotweb/gotweb_ui.h
+++ b/gotweb/gotweb_ui.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2019 Tracey Emery <tracey@traceyemery.net>
+ * Copyright (c) 2019, 2020 Tracey Emery <tracey@traceyemery.net>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above