diff options
Diffstat (limited to '')
-rw-r--r-- | archive.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archive.c b/archive.c index ca56c8c..b045a7a 100644 --- a/archive.c +++ b/archive.c @@ -263,6 +263,13 @@ static void exportMessage(struct List items) { || fclose(file); if (error) err(EX_IOERR, "%s", path); + path = uidPath(uid, "atom"); + file = fopen(path, "w"); + if (!file) err(EX_CANTCREAT, "%s", path); + error = atomEnvelope(file, &envelope) + || fclose(file); + if (error) err(EX_IOERR, "%s", path); + envelopeFree(envelope); } |