diff options
author | June McEnroe <june@causal.agency> | 2020-04-13 14:58:53 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-13 14:58:53 -0400 |
commit | 9032566beb37bc907ed21cf0446ee427a82bdcb0 (patch) | |
tree | ea42d3f62f344f696551cee811028748422116b5 /concat.c | |
parent | Do not escape > in XML/HTML (diff) | |
download | bubger-9032566beb37bc907ed21cf0446ee427a82bdcb0.tar.gz bubger-9032566beb37bc907ed21cf0446ee427a82bdcb0.zip |
Export content to Atom
Temporarily disabling HTML output...
Diffstat (limited to '')
-rw-r--r-- | concat.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/concat.c b/concat.c index abf648c..a0f451e 100644 --- a/concat.c +++ b/concat.c @@ -157,20 +157,5 @@ void concatData(struct List threads, struct List items) { if (error) err(EX_IOERR, "%s", path); } - path = pathThread(envelope.messageID, "html"); - error = stat(path, &status); - if (error || status.st_mtime < uidNewest(flat, "html")) { - FILE *file = fopen(path, "w"); - if (!file) err(EX_CANTCREAT, "%s", path); - - error = 0 - || htmlThreadHead(file, &envelope) // TODO: Include -h file. - || htmlThreadHeader(file, &envelope) - || concatHTML(file, thread) - || htmlThreadTail(file) - || fclose(file); - if (error) err(EX_IOERR, "%s", path); - } - listFree(flat); } |