summary refs log tree commit diff
path: root/concat.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--concat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/concat.c b/concat.c
index bd41913..64e543f 100644
--- a/concat.c
+++ b/concat.c
@@ -170,6 +170,7 @@ static void concatThread(struct List thread, const struct Envelope *envelope) {
 
 		error = fclose(file);
 		if (error) err(EX_IOERR, "%s", path);
+		if (!quiet) printf("%s\n", path);
 	}
 	free(path);
 
@@ -192,6 +193,7 @@ static void concatThread(struct List thread, const struct Envelope *envelope) {
 
 		error = atomThreadClose(file) || fclose(file);
 		if (error) err(EX_IOERR, "%s", path);
+		if (!quiet) printf("%s\n", path);
 	}
 	free(path);
 
@@ -215,6 +217,7 @@ static void concatThread(struct List thread, const struct Envelope *envelope) {
 			|| htmlThreadClose(file)
 			|| fclose(file);
 		if (error) err(EX_IOERR, "%s", path);
+		if (!quiet) printf("%s\n", path);
 	}
 	free(path);
 
@@ -264,6 +267,7 @@ void concatIndex(struct List threads, const struct Envelope *envelopes) {
 
 	error = atomIndexClose(file) || fclose(file);
 	if (error) err(EX_IOERR, "%s", path);
+	if (!quiet) printf("%s\n", path);
 
 	struct Sort *order = calloc(threads.len, sizeof(*order));
 	if (!order) err(EX_OSERR, "calloc");
@@ -306,4 +310,5 @@ void concatIndex(struct List threads, const struct Envelope *envelopes) {
 
 	error = htmlIndexClose(file) || fclose(file);
 	if (error) err(EX_IOERR, "%s", path);
+	if (!quiet) printf("%s\n", path);
 }