]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-fs: abort parent in fs_file_write_stream_abort_parent
authorAki Tuomi <aki.tuomi@dovecot.fi>
Tue, 23 Aug 2016 20:31:40 +0000 (23:31 +0300)
committerGitLab <gitlab@git.dovecot.net>
Tue, 23 Aug 2016 20:34:00 +0000 (23:34 +0300)
src/lib-fs/fs-api.c

index 86bc0843f3c7c18460aec5ee12d3a0e2582acbd1..b580a029f8199c5e87c5e1190cbb71fdde53afec 100644 (file)
@@ -747,7 +747,7 @@ void fs_write_stream_abort_parent(struct fs_file *file, struct ostream **output)
 {
        i_assert(file->parent != NULL);
        i_assert(fs_file_last_error(file->parent) != NULL);
-       fs_write_stream_abort(file, output);
+       fs_write_stream_abort(file->parent, output);
 }
 
 void fs_write_set_hash(struct fs_file *file, const struct hash_method *method,