about summary refs log tree commit diff
path: root/concat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-13 11:47:36 -0400
committerJune McEnroe <june@causal.agency>2020-04-13 11:47:36 -0400
commit79efea7ad5ffa571d27321243e25c372ab4303b2 (patch)
treeff31d350114e46f8c2402405e82b11c34613e3b9 /concat.c
parentFix concatHTML thread nesting (diff)
downloadbubger-79efea7ad5ffa571d27321243e25c372ab4303b2.tar.gz
bubger-79efea7ad5ffa571d27321243e25c372ab4303b2.zip
Rename atom rendering functions
Again, probably.
Diffstat (limited to '')
-rw-r--r--concat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/concat.c b/concat.c
index 07d1f6f..5e8be3d 100644
--- a/concat.c
+++ b/concat.c
@@ -145,7 +145,7 @@ void concatData(struct List threads, struct List items) {
 		FILE *file = fopen(dst, "w");
 		if (!file) err(EX_CANTCREAT, "%s", dst);
 
-		error = atomFeedHead(file, &envelope);
+		error = atomFeedOpen(file, &envelope);
 		if (error) err(EX_IOERR, "%s", dst);
 
 		for (size_t i = 0; i < flat.len; ++i) {
@@ -154,7 +154,7 @@ void concatData(struct List threads, struct List items) {
 			if (error) err(EX_IOERR, "%s", dst);
 		}
 
-		error = atomFeedTail(file) || fclose(file);
+		error = atomFeedClose(file) || fclose(file);
 		if (error) err(EX_IOERR, "%s", dst);
 	}