summary refs log tree commit diff
path: root/atom.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-30 17:59:43 -0400
committerJune McEnroe <june@causal.agency>2020-04-30 17:59:43 -0400
commitc7225ffd120578fefb1d1ead73c1ed84d83de997 (patch)
treed578f8304d67e3d5555cd8c1d0675239c0b9d42d /atom.c
parentSwap -s and -S (diff)
downloadbubger-c7225ffd120578fefb1d1ead73c1ed84d83de997.tar.gz
bubger-c7225ffd120578fefb1d1ead73c1ed84d83de997.zip
Rename baseAddress to baseMailto
Diffstat (limited to '')
-rw-r--r--atom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atom.c b/atom.c
index 7c0dc5e..5b34867 100644
--- a/atom.c
+++ b/atom.c
@@ -159,7 +159,7 @@ int atomIndexOpen(FILE *file) {
 	const char *template = TEMPLATE(
 		<[q]xml version="1.0" encoding="utf-8"[q]>
 		<feed xmlns="http://www.w3.org/2005/Atom">
-		<id>mailto:[addr]</id>
+		<id>mailto:[mailto]</id>
 		<title>[title]</title>
 		<updated>[updated]</updated>
 		<link rel="self" href="[base]/index.atom"/>
@@ -167,7 +167,7 @@ int atomIndexOpen(FILE *file) {
 	);
 	struct Variable vars[] = {
 		{ "q", "?" },
-		{ "addr", baseAddress },
+		{ "mailto", baseMailto },
 		{ "title", baseTitle },
 		{ "updated", atomUpdated(time(NULL)) },
 		{ "base", baseURL },