summary refs log tree commit diff
path: root/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'atom.c')
-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 },