summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-01-24 17:21:41 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-01-24 17:21:41 +0000
commit75226e9c4464230891bbf8eb7dd6ef81185093ac (patch)
tree7547028f773a7f681169d4370bd2e7a5cda9fc6c
parent23b0457b0b15cb45606177847a22275ec33079eb (diff)
downloadmailutils-75226e9c4464230891bbf8eb7dd6ef81185093ac.tar.gz
mailutils-75226e9c4464230891bbf8eb7dd6ef81185093ac.tar.bz2
(mu_stream_vprintf): Bugfix.
-rw-r--r--mailbox/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailbox/stream.c b/mailbox/stream.c
index 8343e22b9..56e8bbe87 100644
--- a/mailbox/stream.c
+++ b/mailbox/stream.c
@@ -515,7 +515,7 @@ mu_stream_vprintf (mu_stream_t os, mu_off_t *poff, const char *fmt, va_list ap)
free (buf);
return ENOMEM;
}
- newbuf = realloc (buf, buflen);
+ newbuf = realloc (buf, newlen);
if (newbuf == NULL)
{
free (buf);

Return to:

Send suggestions and report system problems to the System administrator.