changeset 20239:6b546cab619f

fs-metawrap: Removed unnecessary code. The caller already set success==FALSE if ostream was closed.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Wed, 01 Jun 2016 17:12:10 +0300
parents d9ed3a90b50e
children 5142d4fbf69b
files src/lib-fs/fs-metawrap.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-fs/fs-metawrap.c	Wed Jun 01 17:11:53 2016 +0300
+++ b/src/lib-fs/fs-metawrap.c	Wed Jun 01 17:12:10 2016 +0300
@@ -383,8 +383,6 @@
 	int ret;
 
 	if (_file->output != NULL) {
-		if (_file->output->closed)
-			success = FALSE;
 		if (_file->output == file->super_output)
 			_file->output = NULL;
 		else