add tag html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
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