summaryrefslogtreecommitdiff
path: root/mailbox/stream_vprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'mailbox/stream_vprintf.c')
-rw-r--r--mailbox/stream_vprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailbox/stream_vprintf.c b/mailbox/stream_vprintf.c
index db0bff38b..5bd9c09e0 100644
--- a/mailbox/stream_vprintf.c
+++ b/mailbox/stream_vprintf.c
@@ -37,6 +37,6 @@ mu_stream_vprintf (mu_stream_t str, const char *fmt, va_list ap)
n = strlen (buf);
rc = mu_stream_write (str, buf, n, NULL);
free (buf);
- return rc == 0 ? n : -1;
+ return rc;
}

Return to:

Send suggestions and report system problems to the System administrator.