Skip to content

Commit

Permalink
global: Replace o_stream_nfinish() with o_stream_finish
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen authored and Timo Sirainen committed Oct 30, 2017
1 parent 0f46b1d commit 40c5467
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lib-sieve-tool/sieve-tool.c
Expand Up @@ -579,7 +579,7 @@ void sieve_tool_dump_binary_to
(void) sieve_hexdump(sbin, dumpstream);
else
(void) sieve_dump(sbin, dumpstream, FALSE);
if (o_stream_nfinish(dumpstream) < 0) {
if (o_stream_finish(dumpstream) < 0) {
i_fatal("write(%s) failed: %s", filename,
o_stream_get_error(dumpstream));
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib-sieve/sieve.c
Expand Up @@ -998,7 +998,7 @@ void sieve_trace_log_free(struct sieve_trace_log **_trace_log)

*_trace_log = NULL;

if (o_stream_nfinish(trace_log->output) < 0) {
if (o_stream_finish(trace_log->output) < 0) {
i_error("write(%s) failed: %s",
o_stream_get_name(trace_log->output),
o_stream_get_error(trace_log->output));
Expand Down
2 changes: 1 addition & 1 deletion src/testsuite/testsuite-smtp.c
Expand Up @@ -141,7 +141,7 @@ int testsuite_smtp_finish
struct testsuite_smtp *smtp = (struct testsuite_smtp *) handle;
int ret = 1;

if (o_stream_nfinish(smtp->output) < 0) {
if (o_stream_finish(smtp->output) < 0) {
i_error("write(%s) failed: %s", smtp->msg_file,
o_stream_get_error(smtp->output));
ret = -1;
Expand Down

0 comments on commit 40c5467

Please sign in to comment.