#include "rfc1524.h"
#include "rfc2047.h"
-#include "lib/mem.h"
#include "lib/str.h"
#include "lib/intl.h"
#include "lib/debug.h"
len += *buflen;
*buflen *= 2;
line = *buf;
- mem_realloc (buf, *buflen);
+ p_realloc(buf, *buflen);
line = *buf + (*pline - line);
}
strcpy (line, data->group);
*buflen *= 2;
*pline = line;
line = *buf;
- mem_realloc (buf, *buflen);
+ p_realloc(buf, *buflen);
line = *buf + (*pline - line);
}
if (x) {
!ctx->hdrs[x]->read) {
if (data->num >= data->max) {
data->max = data->max * 2;
- mem_realloc (&data->entries, data->max * sizeof (NEWSRC_ENTRY));
+ p_realloc(&data->entries, data->max);
}
data->entries[data->num].first = first;
data->entries[data->num].last = last - 1;
if (series && first <= data->lastLoaded) {
if (data->num >= data->max) {
data->max = data->max * 2;
- mem_realloc (&data->entries, data->max * sizeof (NEWSRC_ENTRY));
+ p_realloc(&data->entries, data->max);
}
data->entries[data->num].first = first;
data->entries[data->num].last = data->lastLoaded;