#include "mutt.h"
#include "buffy.h"
+#include "buffer.h"
#include "mx.h"
#include "mh.h"
#include "sidebar.h"
/* func to free buffy for list_del() */
static void buffy_free (BUFFY** p) {
- FREE(&(*p)->path);
- FREE(p);
+ mem_free(&(*p)->path);
+ mem_free(p);
}
int buffy_lookup (const char* path) {
}
if (i < 0) {
- tmp = safe_calloc (1, sizeof (BUFFY));
+ tmp = mem_calloc (1, sizeof (BUFFY));
tmp->path = str_dup (buf);
tmp->magic = 0;
list_push_back (&Incoming, tmp);
int have_unnotified = BuffyNotify;
int i = 0;
- if (option (OPTFORCEBUFFYCHECK))
- buffy_check (1);
-
pos = 0;
first = 1;
buffylist[0] = 0;