summary refs log tree commit diff
path: root/concat.c
diff options
context:
space:
mode:
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);
 	}