Commit 48fb45e6 48fb45e67906da7673f50ef47cef0a405ebe6342 by Sergey Poznyakoff

Bugfix.

* libmailutils/imapio/getline.c (mu_imapio_getline): Fix the call to
realloc.
1 parent 326f5d74
......@@ -209,7 +209,7 @@ mu_imapio_getline (struct _mu_imapio *io)
if (number + 1 > io->_imap_buf_size)
{
size_t newsize = number + 1;
void *newp = realloc (&io->_imap_buf_base, newsize);
void *newp = realloc (io->_imap_buf_base, newsize);
if (!newp)
return ENOMEM;
io->_imap_buf_base = newp;
......