diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-24 17:21:41 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-01-24 17:21:41 +0000 |
commit | 75226e9c4464230891bbf8eb7dd6ef81185093ac (patch) | |
tree | 7547028f773a7f681169d4370bd2e7a5cda9fc6c | |
parent | 23b0457b0b15cb45606177847a22275ec33079eb (diff) | |
download | mailutils-75226e9c4464230891bbf8eb7dd6ef81185093ac.tar.gz mailutils-75226e9c4464230891bbf8eb7dd6ef81185093ac.tar.bz2 |
(mu_stream_vprintf): Bugfix.
-rw-r--r-- | mailbox/stream.c | 2 |
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); |