diff options
author | June McEnroe <june@causal.agency> | 2020-04-13 11:47:36 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-13 11:47:36 -0400 |
commit | 79efea7ad5ffa571d27321243e25c372ab4303b2 (patch) | |
tree | ff31d350114e46f8c2402405e82b11c34613e3b9 /concat.c | |
parent | Fix concatHTML thread nesting (diff) | |
download | bubger-79efea7ad5ffa571d27321243e25c372ab4303b2.tar.gz bubger-79efea7ad5ffa571d27321243e25c372ab4303b2.zip |
Rename atom rendering functions
Again, probably.
Diffstat (limited to '')
-rw-r--r-- | concat.c | 4 |
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); } |