31 |
*msgcnt += inc; |
*msgcnt += inc; |
32 |
*msglist = realloc (*msglist, (*msgcnt)*sizeof(**msglist)); |
*msglist = realloc (*msglist, (*msgcnt)*sizeof(**msglist)); |
33 |
if (!*msglist) |
if (!*msglist) |
34 |
{ |
mh_err_memory (1); |
|
mh_error (_("not enough memory")); |
|
|
abort (); |
|
|
} |
|
35 |
} |
} |
36 |
|
|
37 |
/* Fatal error handler */ |
/* Fatal error handler */ |
586 |
mailbox_messages_count (mbox, &total); |
mailbox_messages_count (mbox, &total); |
587 |
list = calloc (total, sizeof (list[0])); |
list = calloc (total, sizeof (list[0])); |
588 |
if (!list) |
if (!list) |
589 |
{ |
mh_err_memory (1); |
|
mh_error (_("not enough memory")); |
|
|
abort (); |
|
|
} |
|
590 |
|
|
591 |
for (i = 1, msgno = 0; i <= total; i++) |
for (i = 1, msgno = 0; i <= total; i++) |
592 |
{ |
{ |